NAME
ffeettcchh, ffuubbyyttee, ffuuiibbyyttee, ffuuwwoorrdd, ffuuiiwwoorrdd, ffuulloonngg, ffuuuulloonngg - fetch data
from user-space
SYNOPSIS
##iinncclluuddee <
> ##iinncclluuddee <
> ##iinncclluuddee <
> ##iinncclluuddee <
int ffuubbyyttee(const useraddrt addr); int ffuuiibbyyttee(const useraddrt addr); int ffuuwwoorrdd(useraddrt addr); int ffuuiiwwoorrdd(useraddrt addr); int64t ffuulloonngg(useraddrt addr); uint64t ffuuuulloonngg(useraddrt addr);> DESCRIPTION
The ffeettcchh functions are designed to copy small amounts of data from user-
space. The ffeettcchh routines provide the following functionality:ffuubbyyttee() Fetches a byte of data from the user-space address addr.
ffuuiibbyyttee() Fetches a byte of data from the user-space address addr. This
function is safe to call during an interrupt context.ffuuwwoorrdd() Fetches a word of data from the user-space address addr.
ffuuiiwwoorrdd() Fetches a word of data from the user-space address addr. This
function is safe to call during an interrupt context.ffuulloonngg() Fetches a long word of data from the user-space address addr.
ffuuuulloonngg() Fetches a unsigned long word of data from the user-space
address addr.RETURN VALUES
The ffeettcchh functions return the data fetched or -1 on failure.
SEE ALSO
copy(9), store(9) BSD December 16, 2004 BSD