mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
bitset: Fix __BIT_FFS_AT()'s herald comment
The manual page is correct though. No functional change. Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Event: Kitchener-Waterloo Hackathon 202406 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e0dcb9b611
commit
f3ab0d86e8
|
@ -232,8 +232,9 @@
|
|||
} while (0)
|
||||
|
||||
/*
|
||||
* Note that `start` and the returned value from __BIT_FFS_AT are
|
||||
* 1-based bit indices.
|
||||
* 'start' and 'end' are 0-based bit (runtime) indices. Note that, as for ffs(),
|
||||
* the returned index is 1-based, 0 being reserved to indicate that no bits are
|
||||
* set.
|
||||
*/
|
||||
#define __BIT_FFS_AT(_s, p, start) __extension__ ({ \
|
||||
__size_t __i; \
|
||||
|
|
Loading…
Reference in a new issue