summaryrefslogtreecommitdiff
path: root/man3/stpncpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/stpncpy.3')
-rw-r--r--man3/stpncpy.34
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"