diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 06:54:38 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 06:54:38 +0000 |
commit | e511ffb6bcaa9a584412a95e602435827e302033 (patch) | |
tree | 79a5a572acdc2e97d1ea0640b3a63f567e1a00a8 /man3/stpncpy.3 | |
parent | ce9cb96e16485875d545897d73ec8378d6a7cf67 (diff) |
Automated addition of parentheses by add_parens_for_own_funcs.sh
Diffstat (limited to 'man3/stpncpy.3')
-rw-r--r-- | man3/stpncpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index fe758a6f..832d777c 100644 --- a/man3/stpncpy.3 +++ b/man3/stpncpy.3 @@ -21,7 +21,7 @@ stpncpy \- copy a fixed-size string, returning a pointer to its end .BI "char *stpncpy(char *" dest ", const char *" src ", size_t " n ); .fi .SH DESCRIPTION -The \fBstpncpy\fP function copies at most \fIn\fP characters from the string +The \fBstpncpy\fP() function copies at most \fIn\fP characters from the string pointed to by \fIsrc\fP, including the terminating '\\0' character, to the array pointed to by \fIdest\fP. Exactly \fIn\fP characters are written at \fIdest\fP. If the length \fIstrlen(src)\fP is smaller than \fIn\fP, the @@ -34,7 +34,7 @@ The strings may not overlap. The programmer must ensure that there is room for at least \fIn\fP characters at \fIdest\fP. .SH "RETURN VALUE" -\fBstpncpy\fP returns a pointer to the terminating null +\fBstpncpy\fP() returns a pointer to the terminating null in \fIdest\fP, or, if \fIdest\fP is not null-terminated, \fIdest + n\fP. .SH "CONFORMING TO" |