fubyte(D3X)fubyte(D3X)NAMEfubyte - fetch (read) a byte from user space
SYNOPSIS
int fubyte(char *usr_v_addr);
DESCRIPTIONfubyte reads a single (8-bit) byte from the specified address,
usr_v_addr, in the currently mapped user process address space.
Return Values
Upon successful completion, fubyte returns the value of the byte at
usr_v_addr, a value from 0 to 255.
Otherwise, fubyte returns -1, indicating an invalid user virtual address.
See Also
fuword(D3X), subyte(D3X), copyin(D3)
Page 1