From 8a2a9746f839bd7f3503aec48829f9dc53468ba5 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 30 Dec 1997 01:09:49 +0000 Subject: correct description --- src/lib/libc/string/index.3 | 6 +++--- src/lib/libc/string/rindex.3 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/libc/string') 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 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: index.3,v 1.3 1997/07/10 23:54:34 millert Exp $ +.\" $OpenBSD: index.3,v 1.4 1997/12/30 01:09:49 deraadt Exp $ .\" .Dd April 19, 1991 .Dt INDEX 3 @@ -54,9 +54,9 @@ locates the first character matching in the null-terminated string .Fa s . .Sh RETURN VALUES -The character +If the character .Fa c -is returned if it is found; otherwise +is found, a pointer to it is returned; otherwise .Dv NULL is returned. 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 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: rindex.3,v 1.2 1996/08/19 08:34:08 tholo Exp $ +.\" $OpenBSD: rindex.3,v 1.3 1997/12/30 01:09:49 deraadt Exp $ .\" .Dd April 19, 1991 .Dt RINDEX 3 @@ -54,7 +54,7 @@ matching .Em char ) in the null-terminated string .Fa s . -The character c is returned if it is found; otherwise NULL is returned. +If the character c is found, a pointer to it is returned; otherwise NULL is returned. If .Fa c is -- cgit v1.2.3-55-g6feb