STORE(9) | Kernel Developer's Manual | STORE(9) |
store
, subyte
,
suword
— store data to
user-space
#include
<sys/types.h>
#include <sys/time.h>
#include <sys/systm.h>
int
subyte
(volatile
void *base, int
byte);
int
suword
(volatile
void *base, long
word);
int
suword16
(volatile
void *base, int
word);
int
suword32
(volatile
void *base, int32_t
word);
int
suword64
(volatile
void *base, int64_t
word);
#include
<sys/resourcevar.h>
The store
functions are designed to copy
small amounts of data to user-space. If write is successful, it is performed
atomically. The data written must be naturally aligned.
The store
routines provide the following
functionality:
subyte
()suword
()suword16
()suword32
()suword64
()The store
functions return 0 on success or
-1 on failure.
April 17, 2018 | Debian |