set_bit

Section: Kernel Hacker's Manual (9)
Updated: set_bit
Index Return to Main Contents
 

NAME

set_bit - Atomically set a bit in memory  

SYNOPSIS

void set_bit (int nr, volatile void *addr);  

ARGUMENTS

nr

 the bit to set
addr

 the address to start counting from
 

DESCRIPTION

This function is atomic and may not be reordered. See __set_bit if you do not require the atomic guarantees. Note that nr may be almost arbitrarily large; this function is not restricted to acting on a single-word quantity.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 03:15:45 GMT, June 12, 2005