diff options
author | deraadt <> | 1997-12-30 01:09:49 +0000 |
---|---|---|
committer | deraadt <> | 1997-12-30 01:09:49 +0000 |
commit | 8a2a9746f839bd7f3503aec48829f9dc53468ba5 (patch) | |
tree | cb572df25653885b82ccd9fefbd396a7f091db16 /src | |
parent | 64e66e5963c263bb30879f7e00d35285e4f6a942 (diff) | |
download | openbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.tar.gz openbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.tar.bz2 openbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.zip |
correct description
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/string/index.3 | 6 | ||||
-rw-r--r-- | src/lib/libc/string/rindex.3 | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/string/index.3 b/src/lib/libc/string/index.3 index e6560cc805..d236a73a48 100644 --- a/src/lib/libc/string/index.3 +++ b/src/lib/libc/string/index.3 | |||
@@ -31,7 +31,7 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
33 | .\" | 33 | .\" |
34 | .\" $OpenBSD: index.3,v 1.3 1997/07/10 23:54:34 millert Exp $ | 34 | .\" $OpenBSD: index.3,v 1.4 1997/12/30 01:09:49 deraadt Exp $ |
35 | .\" | 35 | .\" |
36 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
37 | .Dt INDEX 3 | 37 | .Dt INDEX 3 |
@@ -54,9 +54,9 @@ locates the first character matching | |||
54 | in the null-terminated string | 54 | in the null-terminated string |
55 | .Fa s . | 55 | .Fa s . |
56 | .Sh RETURN VALUES | 56 | .Sh RETURN VALUES |
57 | The character | 57 | If the character |
58 | .Fa c | 58 | .Fa c |
59 | is returned if it is found; otherwise | 59 | is found, a pointer to it is returned; otherwise |
60 | .Dv NULL | 60 | .Dv NULL |
61 | is returned. | 61 | is returned. |
62 | If | 62 | If |
diff --git a/src/lib/libc/string/rindex.3 b/src/lib/libc/string/rindex.3 index a1266b94ae..db7f8e1cd8 100644 --- a/src/lib/libc/string/rindex.3 +++ b/src/lib/libc/string/rindex.3 | |||
@@ -31,7 +31,7 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
33 | .\" | 33 | .\" |
34 | .\" $OpenBSD: rindex.3,v 1.2 1996/08/19 08:34:08 tholo Exp $ | 34 | .\" $OpenBSD: rindex.3,v 1.3 1997/12/30 01:09:49 deraadt Exp $ |
35 | .\" | 35 | .\" |
36 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
37 | .Dt RINDEX 3 | 37 | .Dt RINDEX 3 |
@@ -54,7 +54,7 @@ matching | |||
54 | .Em char ) | 54 | .Em char ) |
55 | in the null-terminated string | 55 | in the null-terminated string |
56 | .Fa s . | 56 | .Fa s . |
57 | The character c is returned if it is found; otherwise NULL is returned. | 57 | If the character c is found, a pointer to it is returned; otherwise NULL is returned. |
58 | If | 58 | If |
59 | .Fa c | 59 | .Fa c |
60 | is | 60 | is |