PatchworkOS
Loading...
Searching...
No Matches
strcat.c
Go to the documentation of this file.
1
#include <
string.h
>
2
3
char
*
strcat
(
char
*
_RESTRICT
s1,
const
char
*
_RESTRICT
s2)
4
{
5
char
* rc = s1;
6
7
if
(*s1)
8
{
9
while
(*++s1)
10
{
11
/* EMPTY */
12
}
13
}
14
15
while
((*s1++ = *s2++))
16
{
17
/* EMPTY */
18
}
19
20
return
rc;
21
}
_RESTRICT
#define _RESTRICT
Definition
config.h:17
strcat
char * strcat(char *_RESTRICT s1, const char *_RESTRICT s2)
Definition
strcat.c:3
string.h
src
libstd
functions
string
strcat.c
Generated by
1.9.8