fubyte - General: Returns a byte from user address space
int fubyte(
char *user_src );
Specifies the address in user space from which to read the
byte.
The fubyte routine returns 1 byte from the unprotected
user address space to the calling program.
If the size of the return value is larger than 1 byte, the
byte actually used for the return value is implementation
defined.
Upon successful completion, fubyte returns a value greater
than 0 (zero). Otherwise, it returns -1, indicating that
the user address specified in user_src cannot be accessed.
Routines: copyinstr(9r), fuword(9r), subyte(9r),
suword(9r)
fubyte(9r)
[ Back ] |