summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/ffs.3
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-30 19:08:53 +0000
committerrobert <robert@FreeBSD.org>2002-08-30 19:08:53 +0000
commit6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea (patch)
tree60d3aa23dc3bac361b836666813fc869948bf35e /lib/libc/string/ffs.3
parentd034a1281c6375b80d2e8cfbfbcba4564d125f2b (diff)
downloadFreeBSD-src-6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea.zip
FreeBSD-src-6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea.tar.gz
- Update the manual page to show that the associated header file
is <strings.h> and not <string.h> anymore. - Tell the reader about this change in the HISTORY section. - Switch to use an ANSI-C function definition. - Include <strings.h> instead of <string.h> in the source file.
Diffstat (limited to 'lib/libc/string/ffs.3')
-rw-r--r--lib/libc/string/ffs.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3
index 71e13b2..fd4de44 100644
--- a/lib/libc/string/ffs.3
+++ b/lib/libc/string/ffs.3
@@ -43,7 +43,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In string.h
+.In strings.h
.Ft int
.Fn ffs "int value"
.Sh DESCRIPTION
@@ -62,3 +62,10 @@ The
.Fn ffs
function appeared in
.Bx 4.3 .
+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