In the last episode (Apr 13), Aziz KEZZOU said:
> Hi hackers,
> I am trying to port a software from Linux to FreeBSD (5.3). But, I
> can't find the equivalent header in FreeBSD of <asm/bitops.h> in Linux
> ?
> 
> Here are the prototypes of the functions I am using:
> int clear_bit(int offset, int * flag);
> int set_bit(int offset, int * flag);
> int test_bit(int offset, int * flag);
> 
> Any hints?

Try the macros in <bitstring.h>; see the bitstring manpage for usage.

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to