]> pd.if.org Git - liblfds/blob - liblfds/liblfds7.1.0/test_and_benchmark/libshared/src/libshared_ansi/libshared_ansi_strcat_char.c
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds7.1.0 / test_and_benchmark / libshared / src / libshared_ansi / libshared_ansi_strcat_char.c
1 /***** includes *****/
2 #include "libshared_ansi_internal.h"
3
4
5
6
7
8 /****************************************************************************/
9 void libshared_ansi_strcat_char( char *destination, char const source )
10 {
11   LFDS710_PAL_ASSERT( destination != NULL );
12   // TRD : source can be any value in its range
13
14   while( *destination++ != '\0' );
15
16   *(destination-1) = source;
17   *destination = '\0';
18
19   return;
20 }
21