storesubytesuswordsuswintrsuword
- store data to user-space
SYNOPSIS
#include <sys/types.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <sys/resourcevar.h> int
subyte (void *base int byte); int
susword (void *base int word); int
suswintr (void *base int word); int
suword (void *base long word);
DESCRIPTION
The
functions are designed to copy small amounts of data to user-space.
The
routines provide the following functionality:
Fn subyte
Stores a byte of data to the user-space address
base
Fn susword
Stores a short word of data to the user-space address
base
Fn suswintr
Stores a short word of data to the user-space address
base
This function is safe to call during an interrupt context.
Fn suword
Stores a word of data to the user-space address
base
RETURN VALUES
The
functions return 0 on success or -1 on failure.