diff options
| -rw-r--r-- | src/lib/libc/string/ffs.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/string/ffs.3 b/src/lib/libc/string/ffs.3 index 630db1c584..0b78fbfd33 100644 --- a/src/lib/libc/string/ffs.3 +++ b/src/lib/libc/string/ffs.3 | |||
| @@ -27,9 +27,9 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .\" $OpenBSD: ffs.3,v 1.12 2025/10/24 11:30:06 claudio Exp $ | 30 | .\" $OpenBSD: ffs.3,v 1.13 2025/11/06 17:19:11 schwarze Exp $ |
| 31 | .\" | 31 | .\" |
| 32 | .Dd $Mdocdate: October 24 2025 $ | 32 | .Dd $Mdocdate: November 6 2025 $ |
| 33 | .Dt FFS 3 | 33 | .Dt FFS 3 |
| 34 | .Os | 34 | .Os |
| 35 | .Sh NAME | 35 | .Sh NAME |
| @@ -48,12 +48,12 @@ | |||
| 48 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
| 49 | The | 49 | The |
| 50 | .Fn ffs , | 50 | .Fn ffs , |
| 51 | .Fn ffsl | 51 | .Fn ffsl , |
| 52 | and | 52 | and |
| 53 | .Fn ffsll | 53 | .Fn ffsll |
| 54 | functions find the first bit set in | 54 | functions find the first bit set in |
| 55 | .Fa value | 55 | .Fa value |
| 56 | and returns the index of that bit. | 56 | and return the index of that bit. |
| 57 | Bits are numbered starting from 1, starting at the rightmost bit. | 57 | Bits are numbered starting from 1, starting at the rightmost bit. |
| 58 | A return value of 0 means that the argument was zero. | 58 | A return value of 0 means that the argument was zero. |
| 59 | .Sh SEE ALSO | 59 | .Sh SEE ALSO |
