stresep, not strnsep. Remove duplicate "the". Bump date for previous.

This commit is contained in:
wiz 2006-08-13 23:20:52 +00:00
parent a5afdcde5a
commit 31e92ca26e
1 changed files with 5 additions and 5 deletions

View File

@ -29,9 +29,9 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" from: @(#)strsep.3 8.1 (Berkeley) 6/9/93 .\" from: @(#)strsep.3 8.1 (Berkeley) 6/9/93
.\" $NetBSD: strsep.3,v 1.17 2006/08/12 23:49:54 christos Exp $ .\" $NetBSD: strsep.3,v 1.18 2006/08/13 23:20:52 wiz Exp $
.\" .\"
.Dd August 11, 2002 .Dd August 12, 2006
.Dt STRSEP 3 .Dt STRSEP 3
.Os .Os
.Sh NAME .Sh NAME
@ -83,8 +83,8 @@ is initially
returns returns
.Dv NULL . .Dv NULL .
The The
.Fn strnsep .Fn stresep
function also takes an escape character that allows quoting the the delimiter function also takes an escape character that allows quoting the delimiter
character so that it can be part of the source string. character so that it can be part of the source string.
.Sh EXAMPLES .Sh EXAMPLES
The following uses The following uses
@ -94,7 +94,7 @@ argument vector:
.Bd -literal -offset indent .Bd -literal -offset indent
char **ap, *argv[10], *inputstring; char **ap, *argv[10], *inputstring;
for (ap = argv; ap < \*[Am]argv[9] \*[Am]\*[Am] for (ap = argv; ap \*[Lt] \*[Am]argv[9] \*[Am]\*[Am]
(*ap = strsep(\*[Am]inputstring, " \et")) != NULL;) { (*ap = strsep(\*[Am]inputstring, " \et")) != NULL;) {
if (**ap != '\e0') if (**ap != '\e0')
ap++; ap++;