suword(9r)suword(9r)NAMEsuword - General: Writes a word into user address space
SYNOPSIS
int suword(
char *user_dest,
int word );
ARGUMENTS
Specifies the address in user space to write the word. Specifies the
word to be written.
DESCRIPTION
The suword routine copies one word from the protected kernel address
space to the unprotected user address space.
RETURN VALUES
Upon successful completion, suword returns the value 0 (zero). Other‐
wise, 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), sub‐
yte(9r)suword(9r)