Scroll to navigation

TEST_AND_SET_BIT_LOC(9) Basic C Library Functions TEST_AND_SET_BIT_LOC(9)

NAME

test_and_set_bit_lock - Set a bit and return its old value for lock

SYNOPSIS

bool test_and_set_bit_lock(long nr, volatile unsigned long * addr);

ARGUMENTS

long nr
Bit to set

volatile unsigned long * addr

Address to count from

DESCRIPTION

This is the same as test_and_set_bit on x86.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11