strsep.3: Clarify description

The use of "symbols" in the existing description is confusing;
it's "bytes". Other fixes as well.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-04 23:52:13 +13:00
parent dd827c27b0
commit 4d9fbd4e6e
1 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,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 2011-09-28 "GNU" "Linux Programmer's Manual"
.TH STRSEP 3 2014-01-04 "GNU" "Linux Programmer's Manual"
.SH NAME
strsep \- extract token from string
.SH SYNOPSIS
@ -57,11 +57,10 @@ and does nothing else.
Otherwise, this function finds the first token
in the string
.IR *stringp ,
where tokens
are delimited by symbols in the string
that is delimited by one of the bytes in the string
.IR delim .
This token is terminated by overwriting the delimiter
with a null byte (\(aq\\0\(aq)
with a null byte (\(aq\\0\(aq),
and
.I *stringp
is updated to point past the token.