Main index | Section 9 | Options |
#include <sys/types.h>
#include <sys/systm.h>
The casueword routines reads the value from user memory with address base, and compare the value read with oldval. If the values are equal, newval is written to the *base. In case of casueword32() and casueword(), old value is stored into the (kernel-mode) variable pointed by *oldvalp. The userspace value must be naturally aligned.
The callers of casuword() and casuword32() functions cannot distinguish between -1 read from userspace and function failure.
CASU (9) | April 19, 2019 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.