copyin(9r) osf1 man page | unix.com

Man Page: copyin

Operating Environment: osf1

Section: 9r

copyin(9r)																copyin(9r)

NAME
copyin - General: Copies data from a user address space to a kernel address space
SYNOPSIS
int copyin( caddr_t user_src, caddr_t kernel_dest, u_int bcount );
ARGUMENTS
Specifies the address in user space of the data to be copied. Specifies the address in kernel space to copy the data to. Specifies the number of bytes to copy.
DESCRIPTION
The copyin routine copies a specified amount of data from the unprotected user address space to the protected kernel address space.
RETURN VALUES
Upon successful completion, copyin returns a value of 0 (zero). Otherwise, it can return the following error: The address in user space that you specified in the user_src argument cannot be accessed.
SEE ALSO
Routines: copyinstr(9r), copyout(9r) copyin(9r)
Related Man Pages
copyinstr(9r) - osf1
copyout(9) - debian
copy(9) - sunos
copyin(9) - linux
copy(9) - linux
Similar Topics in the Unix Linux Community
Copying latest file into a folder
copying columns with headers' specific pattern
Copying of multiple columns of one table to another by mapping with particular strings.
Script for copying files from windows to UNIX
To check the file and remove header before copying