Browse Source

correct description

OPENBSD_2_3
deraadt 26 years ago
parent
commit
ab9e784f8f
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      src/lib/libc/string/index.3
  2. +2
    -2
      src/lib/libc/string/rindex.3

+ 3
- 3
src/lib/libc/string/index.3 View File

@ -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


+ 2
- 2
src/lib/libc/string/rindex.3 View File

@ -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


Loading…
Cancel
Save