*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: atomic_setbits_int | Section: 9 | Source: OpenBSD | File: atomic_setbits_int.9
ATOMIC_SETBITS_INT(9) FreeBSD Kernel Developer's Manual ATOMIC_SETBITS_INT(9) NAME atomic_setbits_int, atomic_clearbits_int - interface to perform atomic operations on data SYNOPSIS #include <sys/atomic.h> void atomic_setbits_int(unsigned int *p, unsigned int b); void atomic_clearbits_int(unsigned int *p, unsigned int b); DESCRIPTION The atomic bits set of functions provide an interface for changing data atomically with respect to interrupts and multiple processors in the system. The atomic_setbits_int() function sets the bits in b in the integer pointed to by p. It is equivalent to *p |= b; The atomic_clearbits_int() function clears the bits in b in the integer pointed to by p. It is equivalent to *p &= ~b; CONTEXT atomic_setbits_int(), and atomic_clearbits_int() can be called during autoconf, from process context, or from interrupt context. SEE ALSO atomic_add_int(9), atomic_cas_uint(9), atomic_dec_int(9), atomic_inc_int(9), atomic_sub_int(9), atomic_swap_uint(9) HISTORY The atomic_setbits_int functions first appeared in OpenBSD 4.1. FreeBSD 14.1-RELEASE-p8 February 13, 2014 FreeBSD 14.1-RELEASE-p8

Navigation Options