summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/index.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/index.3')
-rw-r--r--lib/libc/string/index.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3
index 902b19c..0102fa6 100644
--- a/lib/libc/string/index.3
+++ b/lib/libc/string/index.3
@@ -43,7 +43,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In string.h
+.In strings.h
.Ft char *
.Fn index "const char *s" "int c"
.Sh DESCRIPTION
@@ -81,3 +81,10 @@ A
.Fn index
function appeared in
.At v6 .
+Its prototype existed previously in
+.Aq Pa string.h
+before it was moved to
+.Aq Pa strings.h
+for
+.St -p1003.1-2001
+compliance.
OpenPOWER on IntegriCloud