Commit | Line | Data |
---|---|---|
d4827464 KB |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
5 | .\" Chris Torek. | |
6 | .\" | |
7 | .\" %sccs.include.redist.man% | |
8 | .\" | |
9 | .\" @(#)strncat.3 5.1 (Berkeley) %G% | |
10 | .\" | |
11 | .TH STRNCAT 3 "" | |
12 | .UC 4 | |
13 | .SH NAME | |
14 | strncat \- concatenate strings of limited length | |
15 | .SH SYNOPSIS | |
16 | .nf | |
17 | .ft B | |
18 | #include <string.h> | |
19 | ||
20 | char * | |
21 | strncat(char *s, const char *append, size_t count); | |
22 | .ft R | |
23 | .fi | |
24 | .SH DESCRIPTION | |
25 | .B Strncat | |
26 | appends at most | |
27 | .I count | |
28 | characters from the null-terminated string | |
29 | .I append | |
30 | to the end of the null-terminated string | |
31 | .IR s , | |
32 | then adds a terminating '\e0'. | |
33 | .B Strncat | |
34 | returns the pointer | |
35 | .IR s . | |
36 | .SH SEE ALSO | |
37 | strcat(3) | |
38 | .SH STANDARDS | |
39 | .B Strncat | |
40 | conforms to ANSI X3.159-1989 (``ANSI C''). |