Date: Fri, 16 Nov 2001 19:41:49 -0800 (PST) From: SUZUKI Koichi <koich@cac.co.jp> To: freebsd-gnats-submit@freebsd.org Subject: docs/32054: inconsistency between index.3 and rindex.3 Message-ID: <200111170341.fAH3fnr57341@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 32054 >Category: docs >Synopsis: inconsistency between index.3 and rindex.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 16 19:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: SUZUKI Koichi >Release: FreeBSD 4.4-stanble >Organization: jpman Project >Environment: >Description: I found some inconsistency between index.3 and rindex.3. >How-To-Repeat: >Fix: --- index.3.orig Fri Nov 16 19:24:34 2001 +++ index.3 Fri Nov 16 19:26:16 2001 @@ -62,9 +62,11 @@ is returned. If .Fa c -is '\e0', +is +.Ql \e0 , .Fn index -locates the terminating '\e0'. +locates the terminating +.Ql \e0 . .Sh SEE ALSO .Xr memchr 3 , .Xr rindex 3 , --- rindex.3.orig Fri Nov 16 19:24:40 2001 +++ rindex.3 Fri Nov 16 19:27:36 2001 @@ -50,8 +50,7 @@ The .Fn rindex function -locates the last character -matching +locates the last character matching .Fa c (converted to a .Em char ) @@ -59,7 +58,8 @@ .Fa s . .Sh RETURN VALUES A pointer to the character is returned if it is found; otherwise -NULL is returned. +.Dv NULL +is returned. If .Fa c is >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111170341.fAH3fnr57341>