ReactOS 0.4.16-dev-1138-g6efbed5
strcat.c File Reference
#include <string.h>
Include dependency graph for strcat.c:

Go to the source code of this file.

Functions

char *__cdecl strcat (char *dst, const char *src)
 
char *__cdecl strcpy (char *dst, const char *src)
 

Function Documentation

◆ strcat()

char *__cdecl strcat ( char dst,
const char src 
)

Definition at line 38 of file strcat.c.

42{
43 char * cp = dst;
44
45 while( *cp )
46 cp++; /* find end of dst */
47
48 while((*cp++ = *src++) != '\0') ; /* Copy src to end of dst */
49
50 return( dst ); /* return dst */
51
52}
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
POINT cp
Definition: magnifier.c:59

◆ strcpy()

char *__cdecl strcpy ( char dst,
const char src 
)

Definition at line 72 of file strcat.c.

73{
74 char * cp = dst;
75
76 while((*cp++ = *src++) != '\0')
77 ; /* Copy src over dst */
78
79 return( dst );
80}