'\" t .\" Title: __set_bit .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Basic C Library Functions .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "__SET_BIT" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Basic C Library Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" __set_bit \- Set a bit in memory .SH "SYNOPSIS" .HP \w'void\ __set_bit('u .BI "void __set_bit(long\ " "nr" ", volatile\ unsigned\ long\ *\ " "addr" ");" .SH "ARGUMENTS" .PP \fIlong nr\fR .RS 4 the bit to set .RE .PP \fIvolatile unsigned long * addr\fR .RS 4 the address to start counting from .RE .SH "DESCRIPTION" .PP Unlike \fBset_bit\fR, this function is non\-atomic and may be reordered\&. If it\*(Aqs called on the same region of memory simultaneously, the effect may be that only one operation succeeds\&. .SH "COPYRIGHT" .br