 |
Index for Section 9r |
|
 |
Alphabetical listing for S |
|
 |
Bottom of page |
|
subyte(9r)
NAME
subyte - General: Writes a byte into user address space
SYNOPSIS
int subyte(
char *user_dest,
char byte );
ARGUMENTS
user_dest
Specifies the address in user space to write the byte.
byte
Specifies the byte to be written.
DESCRIPTION
The subyte routine copies 1 byte from the protected kernel address space to
the unprotected user address space.
RETURN VALUES
Upon successful completion, subyte returns the value 0 (zero). Otherwise,
it returns a -1, indicating that the user address specified in user_dest
could not be accessed.
SEE ALSO
Routines: copyout(9r), copyoutstr(9r), fubyte(9r), fuword(9r), suword(9r)
 |
Index for Section 9r |
|
 |
Alphabetical listing for S |
|
 |
Top of page |
|