OSDN Git Service

(split) LDP: Update original to LDP v3.41.
[linuxjm/LDP_man-pages.git] / original / man3 / strdup.3
index b74f201..3b5c543 100644 (file)
@@ -26,7 +26,7 @@
 .\"     386BSD man pages
 .\" Modified Sun Jul 25 10:41:34 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Modified Wed Oct 17 01:12:26 2001 by John Levon <moz@compsoc.man.ac.uk>
-.TH STRDUP 3  2011-10-01 "GNU" "Linux Programmer's Manual"
+.TH STRDUP 3  2012-05-10 "GNU" "Linux Programmer's Manual"
 .SH NAME
 strdup, strndup, strdupa, strndupa \- duplicate a string
 .SH SYNOPSIS
@@ -86,9 +86,9 @@ and can be freed with
 The
 .BR strndup ()
 function is similar, but only copies at most
-\fIn\fP characters.
+\fIn\fP bytes.
 If \fIs\fP is longer than \fIn\fP, only \fIn\fP
-characters are copied, and a terminating null byte (\(aq\\0\(aq) is added.
+bytes are copied, and a terminating null byte (\(aq\\0\(aq) is added.
 
 .BR strdupa ()
 and