xref: /original-bsd/lib/libc/string/strncat.3 (revision fac09079)
Copyright (c) 1990 The Regents of the University of California.
All rights reserved.

This code is derived from software contributed to Berkeley by
Chris Torek.

%sccs.include.redist.man%

@(#)strncat.3 5.1 (Berkeley) 05/15/90

STRNCAT 3 ""
C 4
NAME
strncat - concatenate strings of limited length
SYNOPSIS
#include <string.h>

char *
strncat(char *s, const char *append, size_t count);
DESCRIPTION
Strncat appends at most count characters from the null-terminated string append to the end of the null-terminated string s , then adds a terminating '\e0'. Strncat returns the pointer s .
SEE ALSO
strcat(3)
STANDARDS
Strncat conforms to ANSI X3.159-1989 (``ANSI C'').