summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/index.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/index.3')
-rw-r--r--src/lib/libc/string/index.39
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libc/string/index.3 b/src/lib/libc/string/index.3
index 847b03628b..d236a73a48 100644
--- a/src/lib/libc/string/index.3
+++ b/src/lib/libc/string/index.3
@@ -31,8 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.\" from: @(#)index.3 5.3 (Berkeley) 4/19/91 34.\" $OpenBSD: index.3,v 1.4 1997/12/30 01:09:49 deraadt Exp $
35.\" $Id: index.3,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $
36.\" 35.\"
37.Dd April 19, 1991 36.Dd April 19, 1991
38.Dt INDEX 3 37.Dt INDEX 3
@@ -55,9 +54,9 @@ locates the first character matching
55in the null-terminated string 54in the null-terminated string
56.Fa s . 55.Fa s .
57.Sh RETURN VALUES 56.Sh RETURN VALUES
58The character 57If the character
59.Fa c 58.Fa c
60is returned if it is found; otherwise 59is found, a pointer to it is returned; otherwise
61.Dv NULL 60.Dv NULL
62is returned. 61is returned.
63If 62If
@@ -77,7 +76,7 @@ locates the terminating '\e0'.
77.Xr strstr 3 , 76.Xr strstr 3 ,
78.Xr strtok 3 77.Xr strtok 3
79.Sh HISTORY 78.Sh HISTORY
80A 79An
81.Fn index 80.Fn index
82function appeared in 81function appeared in
83.At v6 . 82.At v6 .