GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of STRCAT

STRCAT

Index
 

NAME

strcat, strncat - concatenate two strings  

SYNOPSIS

#include <string.h>

char *strcat(char *dest, const char *src);

char *strncat(char *dest, const char *src, size_t n);
 

DESCRIPTION

The fBstrcat()fP function appends the fIsrcfP string to the fIdestfP string overwriting the ` ' character at the end of fIdestfP, and then adds a terminating ` ' character. The strings may not overlap, and the fIdestfP string must have enough space for the result.

The fBstrncat()fP function is similar, except that only the first fInfP characters of fIsrcfP are appended to fIdestfP.  

RETURN VALUE

The fBstrcat()fP and fBstrncat()fP functions return a pointer to the resulting string fIdestfP.  

CONFORMING TO

SVID 3, POSIX, BSD 4.3, ISO 9899  

SEE ALSO

bcopy(3), memccpy(3), memcpy(3), strcpy(3), strncpy(3), wcscat(3), wcsncat(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO