Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string Reference ffs32(3). Also note POSIX complian...



details:   https://anonhg.NetBSD.org/src/rev/46af30e7a9af
branches:  trunk
changeset: 754337:46af30e7a9af
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Apr 28 07:44:04 2010 +0000

description:
Reference ffs32(3). Also note POSIX compliance and the movement of the
header from <string.h> to <strings.h>.

diffstat:

 lib/libc/string/ffs.3 |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 90809e41b9c1 -r 46af30e7a9af lib/libc/string/ffs.3
--- a/lib/libc/string/ffs.3     Wed Apr 28 07:42:55 2010 +0000
+++ b/lib/libc/string/ffs.3     Wed Apr 28 07:44:04 2010 +0000
@@ -28,9 +28,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)ffs.3        8.2 (Berkeley) 4/19/94
-.\"    $NetBSD: ffs.3,v 1.11 2009/07/21 13:22:15 wiz Exp $
+.\"    $NetBSD: ffs.3,v 1.12 2010/04/28 07:44:04 jruoho Exp $
 .\"
-.Dd July 21, 2009
+.Dd April 28, 2010
 .Dt FFS 3
 .Os
 .Sh NAME
@@ -53,9 +53,22 @@
 A return value of 0 means that the argument was zero.
 .Sh SEE ALSO
 .Xr bitstring 3 ,
+.Xr ffs32 3 ,
 .Xr popcount 3
+.Sh STANDARDS
+The
+.Fn ffs
+function conforms to
+.St -p1003.1-2001 .
 .Sh HISTORY
 The
 .Fn ffs
 function appeared in
 .Bx 4.3 .
+The prototype for it existed previously in the
+.In string.h header
+before it was moved to
+.In strings.h
+for
+.Tn POSIX
+compliance.



Home | Main Index | Thread Index | Old Index