*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> copyin (9r)              
Title
Content
Arch
Section
 

copyin(9r)

Contents


NAME    [Toc]    [Back]

       copyin - General: Copies data from a user address space to
       a kernel address space

SYNOPSIS    [Toc]    [Back]

       int copyin(
               caddr_t user_src,
               caddr_t kernel_dest,
               u_int bcount );

ARGUMENTS    [Toc]    [Back]

       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    [Toc]    [Back]

       The copyin routine copies a specified amount of data  from
       the unprotected user address space to the protected kernel
       address space.

RETURN VALUES    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Routines: copyinstr(9r), copyout(9r)



                                                       copyin(9r)
[ Back ]
 Similar pages
Name OS Title
copyout Tru64 General: Copies data from a kernel address space to a user address space
copyoutstr Tru64 General: Copies a null-terminated string from a kernel address space to a user address space
copyinstr Tru64 General: Copies a null-terminated string from a user address space to a kernel address space
subyte Tru64 General: Writes a byte into user address space
suword Tru64 General: Writes a word into user address space
fubyte Tru64 General: Returns a byte from user address space
fuiword Tru64 General: Returns a word from user instruction address space
fuword Tru64 General: Returns a word from user instruction address space
fuibyte Tru64 General: Returns a byte from user instruction address space
suibyte Tru64 General: Writes a byte into user instruction address space
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service