diff options
Diffstat (limited to 'src/lib/libc/string/strtok.3')
| -rw-r--r-- | src/lib/libc/string/strtok.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/string/strtok.3 b/src/lib/libc/string/strtok.3 index 6abcfc6724..62f0d7a501 100644 --- a/src/lib/libc/string/strtok.3 +++ b/src/lib/libc/string/strtok.3 | |||
| @@ -33,14 +33,13 @@ | |||
| 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
| 35 | .\" | 35 | .\" |
| 36 | .\" $OpenBSD: strtok.3,v 1.4 1999/05/23 14:11:03 aaron Exp $ | 36 | .\" $OpenBSD: strtok.3,v 1.5 1999/06/04 19:14:56 aaron Exp $ |
| 37 | .\" | 37 | .\" |
| 38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
| 39 | .Dt STRTOK 3 | 39 | .Dt STRTOK 3 |
| 40 | .Os | 40 | .Os |
| 41 | .Sh NAME | 41 | .Sh NAME |
| 42 | .Nm strtok , | 42 | .Nm strtok |
| 43 | .Nm strsep | ||
| 44 | .Nd string token operations | 43 | .Nd string token operations |
| 45 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
| 46 | .Fd #include <string.h> | 45 | .Fd #include <string.h> |
| @@ -104,9 +103,7 @@ if handed a string containing only delimiter characters, | |||
| 104 | will not alter the next starting point, so that a call to | 103 | will not alter the next starting point, so that a call to |
| 105 | .Fn strtok | 104 | .Fn strtok |
| 106 | with a different (or empty) delimiter string | 105 | with a different (or empty) delimiter string |
| 107 | may return a | 106 | may return a non-null value. |
| 108 | .Pf non- Dv NULL | ||
| 109 | value. | ||
| 110 | Since this implementation always alters the next starting point, | 107 | Since this implementation always alters the next starting point, |
| 111 | such a sequence of calls would always return | 108 | such a sequence of calls would always return |
| 112 | .Dv NULL . | 109 | .Dv NULL . |
