get one 32-bit word from user data space
int fuword(unsigned int src);
The fuword routine retrieves (fetches)
one 32-bit word from the user's data space.
address in user space from which the word is copied.
The value of the retrieved 32-bit word is returned.
If an error occurs, -1 is returned
and you should set
u.u_error to EFAULT.
Note that fuword can cause a page fault.
If any chance exists that a -1
may be contained in the data
that you are receiving from user space,
instead of fubyte (or cpass).
A -1 in the data is usually interpreted as an error condition.
Context and synchronization
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
SVR5 DDI compatibility
DDI does not support this function.
Replace calls to
with calls to the
``Data, copying'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005