:man| Alphabetical   Categories   About us 
 
FETCH (9) | Kernel routines | Unix Manual Pages | :man

NAME

fetch, fubyte, fusword, fuswintr, fuword - fetch data from user-space

CONTENTS

Synopsis
Description
Return Values
See Also

SYNOPSIS


.In sys/types.h
.In sys/time.h
.In sys/systm.h
.In sys/resourcevar.h int fubyte "const void *base" int fusword "void *base" int fuswintr "void *base" long fuword "const void *base"

DESCRIPTION

The fetch functions are designed to copy small amounts of data from user-space.

The fetch routines provide the following functionality:

fubyte Fetches a byte of data from the user-space address base.
fusword Fetches a short word of data from the user-space address base.
fuswintr Fetches a short word of data from the user-space address base. This function is safe to call during an interrupt context.
fuword Fetches a word of data from the user-space address base.

RETURN VALUES

The fetch functions return the data fetched or -1 on failure.

SEE ALSO

copy(9), store(9)

 
Created by Blin Media, 2008-2013