From owner-svn-src-stable-9@FreeBSD.ORG Thu Oct 4 01:33:49 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81000106566C; Thu, 4 Oct 2012 01:33:49 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6B94D8FC0C; Thu, 4 Oct 2012 01:33:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q941XnpD031458; Thu, 4 Oct 2012 01:33:49 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q941Xn6b031456; Thu, 4 Oct 2012 01:33:49 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210040133.q941Xn6b031456@svn.freebsd.org> From: Eitan Adler Date: Thu, 4 Oct 2012 01:33:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r241173 - stable/9/lib/libc/string X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 01:33:49 -0000 Author: eadler Date: Thu Oct 4 01:33:48 2012 New Revision: 241173 URL: http://svn.freebsd.org/changeset/base/241173 Log: MFC r241062: clarify the wording for 'first' and 'last' Approved by: cperciva (implicit) Modified: stable/9/lib/libc/string/ffs.3 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/string/ffs.3 ============================================================================== --- stable/9/lib/libc/string/ffs.3 Thu Oct 4 01:33:48 2012 (r241172) +++ stable/9/lib/libc/string/ffs.3 Thu Oct 4 01:33:48 2012 (r241173) @@ -30,7 +30,7 @@ .\" @(#)ffs.3 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd May 3, 2011 +.Dd September 29, 2012 .Dt FFS 3 .Os .Sh NAME @@ -63,8 +63,7 @@ The .Fn ffsl and .Fn ffsll -functions find the first bit set -(beginning with the least significant bit) +functions find the first (least significant) bit set in .Fa value and return the index of that bit. @@ -74,11 +73,11 @@ The .Fn flsl and .Fn flsll -functions find the last bit set in +functions find the last (most significant) bit set in .Fa value and return the index of that bit. .Pp -Bits are numbered starting at 1 (the least significant bit). +Bits are numbered starting at 1, the least significant bit. A return value of zero from any of these functions means that the argument was zero. .Sh SEE ALSO