diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/index.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/rindex.3 | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3 index e6560cc8057..d236a73a48f 100644 --- a/lib/libc/string/index.3 +++ b/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/lib/libc/string/rindex.3 b/lib/libc/string/rindex.3 index a1266b94ae6..db7f8e1cd82 100644 --- a/lib/libc/string/rindex.3 +++ b/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 |