Index Index for
Section 9r
Index Alphabetical
listing for F
Bottom of page Bottom of
page

fubyte(9r)

NAME

fubyte - General: Returns a byte from user address space

SYNOPSIS

int fubyte( char *user_src );

ARGUMENTS

user_src Specifies the address in user space from which to read the byte.

DESCRIPTION

The fubyte routine returns 1 byte from the unprotected user address space to the calling program.

NOTES

If the size of the return value is larger than 1 byte, the byte actually used for the return value is implementation defined.

RETURN VALUES

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.

SEE ALSO

Routines: copyinstr(9r), fuword(9r), subyte(9r), suword(9r)

Index Index for
Section 9r
Index Alphabetical
listing for F
Top of page Top of
page