.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FIND_FIRST_BIT" "9" "09 October 2005" "" ""
.SH NAME
find_first_bit \- find the first set bit in a memory region
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
long find_first_bit (const unsigned long * \fIaddr\fB, unsigned long \fIsize\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIaddr\fB\fR
The address to start the search at
.TP
\fB\fIsize\fB\fR
The maximum size to search
.SH "DESCRIPTION"
.PP
Returns the bit-number of the first set bit, not the number of the byte
containing a bit.