diff options
Diffstat (limited to 'src/lib/libc/string/wcstok.3')
-rw-r--r-- | src/lib/libc/string/wcstok.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/string/wcstok.3 b/src/lib/libc/string/wcstok.3 index dd3f36cfd5..28291888f5 100644 --- a/src/lib/libc/string/wcstok.3 +++ b/src/lib/libc/string/wcstok.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: wcstok.3,v 1.2 2005/04/13 20:42:48 jmc Exp $ | 1 | .\" $OpenBSD: wcstok.3,v 1.3 2005/08/06 03:21:36 jaredy Exp $ |
2 | .\" | 2 | .\" |
3 | .\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $ | 3 | .\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $ |
4 | .\" | 4 | .\" |
@@ -68,7 +68,7 @@ | |||
68 | The | 68 | The |
69 | .Fn wcstok | 69 | .Fn wcstok |
70 | function | 70 | function |
71 | is used to isolate sequential tokens in a null-terminated wide character | 71 | is used to isolate sequential tokens in a NUL-terminated wide character |
72 | string, | 72 | string, |
73 | .Fa str . | 73 | .Fa str . |
74 | These tokens are separated in the string by at least one of the | 74 | These tokens are separated in the string by at least one of the |
@@ -97,12 +97,12 @@ The | |||
97 | .Fn wcstok | 97 | .Fn wcstok |
98 | function | 98 | function |
99 | returns a pointer to the beginning of each subsequent token in the string, | 99 | returns a pointer to the beginning of each subsequent token in the string, |
100 | after replacing the token itself with a null wide character (L'\e0'). | 100 | after replacing the token itself with a NUL wide character (L'\e0'). |
101 | When no more tokens remain, a null pointer is returned. | 101 | When no more tokens remain, a null pointer is returned. |
102 | .Sh EXAMPLES | 102 | .Sh EXAMPLES |
103 | The following code fragment splits a wide character string on | 103 | The following code fragment splits a wide character string on |
104 | .Tn ASCII | 104 | .Tn ASCII |
105 | space, tab and newline characters and writes the tokens to | 105 | space, tab, and newline characters and writes the tokens to |
106 | standard output: | 106 | standard output: |
107 | .Bd -literal -offset indent | 107 | .Bd -literal -offset indent |
108 | const wchar_t *seps = L" \et\en"; | 108 | const wchar_t *seps = L" \et\en"; |