Интерактивная система просмотра системных руководств (man-ов)
fuword (9)
>> fuword (9) ( FreeBSD man: Ядро )
BSD mandoc
NAME
fetch
fubyte
fusword
fuswintr
fuword
- fetch data from user-space
SYNOPSIS
#include <sys/types.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <sys/resourcevar.h>
int
fubyte (const void *base);
int
fusword (void *base);
int
fuswintr (void *base);
long
fuword (const void *base);
DESCRIPTION
The
functions are designed to copy small amounts of data from user-space.
The
routines provide the following functionality:
- Fn fubyte
-
Fetches a byte of data from the user-space address
base
- Fn fusword
-
Fetches a short word of data from the user-space address
base
- Fn fuswintr
-
Fetches a short word of data from the user-space address
base
This function is safe to call during an interrupt context.
- Fn fuword
-
Fetches a word of data from the user-space address
base
RETURN VALUES
The
functions return the data fetched or -1 on failure.
SEE ALSO
copy(9),
store(9)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-