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

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

copyout(9r)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       int copyout(
               caddr_t kernel_src,
               caddr_t user_dest,
               u_int bcount );

ARGUMENTS    [Toc]    [Back]

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

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

RETURN VALUES    [Toc]    [Back]

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

      
      
       Routines: copyin(9r), copyoutstr(9r)



                                                      copyout(9r)
[ Back ]
 Similar pages
Name OS Title
copyin Tru64 General: Copies data from a user address space to a kernel 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