subyte(D3X)

subyte - set (write) a byte to user space

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     subyte - set (write) a byte to user space

SYNOPSIS
     int subyte(char *usr_v_addr, char c);

DESCRIPTION
     subyte writes the given (8-bit) byte, c, to the specified address,
     user_v_addr, in the currently mapped user process' address space.

   Return Values
     Upon successful completion, subyte returns 0. Otherwise, subyte returns
     -1, indicating an invalid user virtual address.

   See Also
     copyout(D3), fubyte(D3X), suword(D3X),