-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbfsetall.3.in
23 lines (22 loc) · 912 Bytes
/
bfsetall.3.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.TH bfsetall 3 "%RELEASE_DATE%" "bitfield %VERSION%" "Bit array manipulation library"
.SH NAME
bfsetall, bfclearall \- sets/unsets all bits in a bit array.
.SH SYNOPSIS
.nf
.B "#include <bitfield.h>
.sp
.BI "void bfsetall(struct bitfield *"instance ");
.BI "void bfclearall(struct bitfield *"instance ");
.fi
.SH DESCRIPTION
A bit array is represented by a "struct bitfield". It has two elements: an array of unsigned long integers \fIfield\fR and an unsigned integer \fIsize\fR.
.sp
The \fBbfsetall()\fR function takes a pointer to bitfield \fIinstance\fR, and sets all its bits (i.e. fills the bitfield with units).
.sp
The \fBbfclearall()\fR function takes a pointer to bitfield \fIinstance\fR, and clears all its bits (i.e. fills the bitfield with zeroes).
.sp
.SH "SEE ALSO"
For the full list of bitfield functions and their descriptions, see manual page for
.BR bitfield (3).
.SH AUTHOR
Vitalie CIUBOTARU