strcat(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
STRCAT(3)                 NetBSD Programmer's Manual                 STRCAT(3)


NAME
strcat, strncat - concatenate strings
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <string.h> char * strcat(char * restrict s, const char * restrict append); char * strncat(char * restrict s, const char * restrict append, size_t count);
DESCRIPTION
The strcat() and strncat() functions append a copy of the null-terminated string append to the end of the null-terminated string s, then add a ter- minating `\0'. The string s must have sufficient space to hold the re- sult. The strncat() function appends not more than count characters.
RETURN VALUES
The strcat() and strncat() functions return the pointer s.
SEE ALSO
bcopy(3), memccpy(3), memcpy(3), memmove(3), strcpy(3), strlcat(3), strlcpy(3)
STANDARDS
The strcat() and strncat() functions conform to ISO/IEC 9899:1999 (``ISO C99''). NetBSD 1.6.2 June 4, 1993 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.