unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.4BSD-Lite2)
Page:
Section:
Apropos / Subsearch:
optional field

STRCAT(3)                   BSD Programmer's Manual                  STRCAT(3)

NAME
     strcat - concatenate strings

SYNOPSIS
     #include <&lt;string.h>&gt;

     char *
     strcat(char *s, const char *append);

     char *
     strncat(char *s, const char *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)

STANDARDS
     The strcat() and strncat() functions conform to ANSI C X3.159-1989
     (``ANSI C '').

4.4BSD                           June 4, 1993                                1