From d0550d9237687385e829b400f8ef1f4e7952089c Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 18 Jul 2000 08:05:11 +0000 Subject: Drop the references to index(3) and rindex(3), which are non-standard and people shouldn't be encouraged to use them. Asked by: sheldonh --- lib/libc/string/memchr.3 | 2 -- lib/libc/string/strchr.3 | 2 -- lib/libc/string/strcspn.3 | 2 -- lib/libc/string/strpbrk.3 | 2 -- lib/libc/string/strrchr.3 | 2 -- lib/libc/string/strsep.3 | 2 -- lib/libc/string/strspn.3 | 2 -- lib/libc/string/strstr.3 | 2 -- lib/libc/string/strtok.3 | 2 -- 9 files changed, 18 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3 index dbf5a1d..2da1b83 100644 --- a/lib/libc/string/memchr.3 +++ b/lib/libc/string/memchr.3 @@ -66,8 +66,6 @@ or NULL if no such byte exists within .Fa len bytes. .Sh SEE ALSO -.Xr index 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , diff --git a/lib/libc/string/strchr.3 b/lib/libc/string/strchr.3 index bf864bf..86c8bbc 100644 --- a/lib/libc/string/strchr.3 +++ b/lib/libc/string/strchr.3 @@ -72,9 +72,7 @@ returns a pointer to the located character, or .Dv NULL if the character does not appear in the string. .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strcspn 3 , .Xr strpbrk 3 , .Xr strrchr 3 , diff --git a/lib/libc/string/strcspn.3 b/lib/libc/string/strcspn.3 index 0f36e3d..1a222a3 100644 --- a/lib/libc/string/strcspn.3 +++ b/lib/libc/string/strcspn.3 @@ -69,9 +69,7 @@ The function returns the number of characters spanned. .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strpbrk 3 , .Xr strrchr 3 , diff --git a/lib/libc/string/strpbrk.3 b/lib/libc/string/strpbrk.3 index 4a97ca3..b9a3e52 100644 --- a/lib/libc/string/strpbrk.3 +++ b/lib/libc/string/strpbrk.3 @@ -64,9 +64,7 @@ occur anywhere in .Fn strpbrk returns NULL. .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strrchr 3 , diff --git a/lib/libc/string/strrchr.3 b/lib/libc/string/strrchr.3 index c9d2698..d2d8c9e 100644 --- a/lib/libc/string/strrchr.3 +++ b/lib/libc/string/strrchr.3 @@ -75,9 +75,7 @@ pointer if does not occur anywhere in .Fa s . .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , diff --git a/lib/libc/string/strsep.3 b/lib/libc/string/strsep.3 index e75ba7b..bc945f7 100644 --- a/lib/libc/string/strsep.3 +++ b/lib/libc/string/strsep.3 @@ -93,9 +93,7 @@ for (ap = argv; (*ap = strsep(&inputstring, " \et")) != NULL;) break; .Ed .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , diff --git a/lib/libc/string/strspn.3 b/lib/libc/string/strspn.3 index bd71810..41d70ce 100644 --- a/lib/libc/string/strspn.3 +++ b/lib/libc/string/strspn.3 @@ -64,9 +64,7 @@ The function returns the number of characters spanned. .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index 39bb0da..f6b20ca 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -73,9 +73,7 @@ otherwise returns a pointer to the first character of the first occurrence of .Fa little . .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3 index e496efb..b56941d 100644 --- a/lib/libc/string/strtok.3 +++ b/lib/libc/string/strtok.3 @@ -134,9 +134,7 @@ for (word = strtok_r(test, sep, &brkt); } .Ed .Sh SEE ALSO -.Xr index 3 , .Xr memchr 3 , -.Xr rindex 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , -- cgit v1.1