X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman3%2Fstrsep.3;fp=original%2Fman3%2Fstrsep.3;h=d80b4b25956c1a9c266e7fe0cf5be9d43691ea84;hb=4b904a2f7904198bf8397efd8c787e1e512992a5;hp=f23127ffa14c35babcc84b4ac2a3874cce504fc0;hpb=c36e46862ca474ca83b4f2748e88f1ad8d1550b9;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man3/strsep.3 b/original/man3/strsep.3 index f23127ff..d80b4b25 100644 --- a/original/man3/strsep.3 +++ b/original/man3/strsep.3 @@ -28,7 +28,7 @@ .\" Modified Mon Jan 20 12:04:18 1997 by Andries Brouwer (aeb@cwi.nl) .\" Modified Tue Jan 23 20:23:07 2001 by Andries Brouwer (aeb@cwi.nl) .\" -.TH STRSEP 3 2010-09-20 "GNU" "Linux Programmer's Manual" +.TH STRSEP 3 2011-09-28 "GNU" "Linux Programmer's Manual" .SH NAME strsep \- extract token from string .SH SYNOPSIS @@ -53,8 +53,8 @@ and does nothing else. Otherwise, this function finds the first token in the string \fI*stringp\fP, where tokens are delimited by symbols in the string \fIdelim\fP. -This token is terminated with a \(aq\\0\(aq character -(by overwriting the delimiter) +This token is terminated by overwriting the delimiter +with a null byte (\(aq\\0\(aq) and \fI*stringp\fP is updated to point past the token. In case no delimiter was found, the token is taken to be the entire string \fI*stringp\fP, and \fI*stringp\fP is made NULL.