osf1 man page for copyout

Query: copyout

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

copyout(9r)															       copyout(9r)

NAME
copyout - General: Copies data from a kernel address space to a user address space
SYNOPSIS
int copyout( caddr_t kernel_src, caddr_t user_dest, u_int bcount );
ARGUMENTS
Specifies the address in kernel space of the data to be copied. Specifies the address in user space to copy the data to. Specifies the number of bytes to copy.
DESCRIPTION
The copyout routine copies a specified amount of data from the protected kernel address space to the unprotected user address space.
RETURN VALUES
Upon successful completion, copyout returns the value 0 (zero). Otherwise, it returns the following error: The address in kernel space that you specified in the kernel_src argument cannot be accessed; or, the length you specified in bcount is invalid.
SEE ALSO
Routines: copyin(9r), copyoutstr(9r) copyout(9r)
Related Man Pages
copy(9) - debian
copyinstr(9) - debian
copy(9) - netbsd
copyout(9) - netbsd
copyoutstr(9) - netbsd
Similar Topics in the Unix Linux Community
Transparent ioctls Streams calls
which function copies data from user to kernel mode
Syslog - solaris 9
Specify the inode of a file?