diff --git a/src/lib/libc/string/index.3 b/src/lib/libc/string/index.3 index e6560cc8..d236a73a 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 a1266b94..db7f8e1c 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