|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: strsep.3,v 1.6 1999/07/04 15:59:50 aaron Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: strsep.3,v 1.7 2000/03/04 22:19:32 aaron Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.\" Copyright (c) 1990, 1991, 1993 |
|
|
.\" Copyright (c) 1990, 1991, 1993 |
|
|
.\" The Regents of the University of California. All rights reserved. |
|
|
.\" The Regents of the University of California. All rights reserved. |
|
@ -85,7 +85,7 @@ returns |
|
|
.Sh EXAMPLES |
|
|
.Sh EXAMPLES |
|
|
The following uses |
|
|
The following uses |
|
|
.Fn strsep |
|
|
.Fn strsep |
|
|
to parse a string, containing tokens delimited by white space, into an |
|
|
|
|
|
|
|
|
to parse a string, containing tokens delimited by whitespace, into an |
|
|
argument vector: |
|
|
argument vector: |
|
|
.Bd -literal -offset indent |
|
|
.Bd -literal -offset indent |
|
|
char **ap, *argv[10], *inputstring; |
|
|
char **ap, *argv[10], *inputstring; |
|
|