clear/set/test_bit header ??

Aziz KEZZOU opensource.enthousiat at gmail.com
Wed Apr 13 13:48:55 PDT 2005


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?

Also if you know about a website which does this header-mapping
(Linux<->FreeBSD), I am interested to know about it ;-)

Thanks,
-aziz


More information about the freebsd-hackers mailing list