aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/stpncpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/stpncpy.3')
-rw-r--r--man/man3/stpncpy.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man3/stpncpy.3 b/man/man3/stpncpy.3
index 4ebe647548..66eabd1089 100644
--- a/man/man3/stpncpy.3
+++ b/man/man3/stpncpy.3
@@ -16,10 +16,12 @@ Standard C library
.nf
.B #include <string.h>
.P
-.BI "char *strncpy(char " dst "[restrict ." dsize "], \
+.BI "char *strncpy(size_t " dsize ;
+.BI " char " dst "[restrict " dsize "], \
const char *restrict " src ,
.BI " size_t " dsize );
-.BI "char *stpncpy(char " dst "[restrict ." dsize "], \
+.BI "char *stpncpy(size_t " dsize ;
+.BI " char " dst "[restrict " dsize "], \
const char *restrict " src ,
.BI " size_t " dsize );
.fi