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

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

subyte(9r)

Contents


NAME    [Toc]    [Back]

       subyte - General: Writes a byte into user address space

SYNOPSIS    [Toc]    [Back]

       int subyte(
               char *user_dest,
               char byte );

ARGUMENTS    [Toc]    [Back]

       Specifies  the  address  in  user space to write the byte.
       Specifies the byte to be written.

DESCRIPTION    [Toc]    [Back]

       The subyte routine copies 1 byte from the protected kernel
       address space to the unprotected user address space.

RETURN VALUES    [Toc]    [Back]

       Upon  successful  completion,  subyte  returns the value 0
       (zero).  Otherwise, it returns a -1, indicating  that  the
       user address specified in user_dest could not be accessed.

SEE ALSO    [Toc]    [Back]

      
      
       Routines:   copyout(9r),    copyoutstr(9r),    fubyte(9r),
       fuword(9r), suword(9r)



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