summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>1997-12-30 01:09:49 +0000
committerderaadt <>1997-12-30 01:09:49 +0000
commit8a2a9746f839bd7f3503aec48829f9dc53468ba5 (patch)
treecb572df25653885b82ccd9fefbd396a7f091db16 /src
parent64e66e5963c263bb30879f7e00d35285e4f6a942 (diff)
downloadopenbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.tar.gz
openbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.tar.bz2
openbsd-8a2a9746f839bd7f3503aec48829f9dc53468ba5.zip
correct description
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/string/index.36
-rw-r--r--src/lib/libc/string/rindex.34
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
54in the null-terminated string 54in the null-terminated string
55.Fa s . 55.Fa s .
56.Sh RETURN VALUES 56.Sh RETURN VALUES
57The character 57If the character
58.Fa c 58.Fa c
59is returned if it is found; otherwise 59is found, a pointer to it is returned; otherwise
60.Dv NULL 60.Dv NULL
61is returned. 61is returned.
62If 62If
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 )
55in the null-terminated string 55in the null-terminated string
56.Fa s . 56.Fa s .
57The character c is returned if it is found; otherwise NULL is returned. 57If the character c is found, a pointer to it is returned; otherwise NULL is returned.
58If 58If
59.Fa c 59.Fa c
60is 60is