You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bfcpy \- copies the contents of a bit array into another bit array.
.SH SYNOPSIS
.nf
.B"#include<bitfield.h>
.sp
.BI"unsigned int bfcpy(const struct bitfield *"src", struct bitfield *"dest");
.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 \fBbfcpy()\fR function takes pointers to bitfields \fIsrc\fR and \fIdest\fR, and copies the bits from \fIsrc\fR to a properly initialized \fIdest\fR bit. The function returns 0 on success and 1 otherwise.
.sp
.SH "SEE ALSO"
For the full list of bitfield functions and their descriptions, see manual page for