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

  man pages->FreeBSD man pages -> suword (9)              
Title
Content
Arch
Section
 

STORE(9)

Contents


NAME    [Toc]    [Back]

     store, subyte, susword, suswintr, suword -- store data to user-space

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/time.h>
     #include <sys/systm.h>
     #include <sys/resourcevar.h>

     int
     subyte(void *base, int byte);

     int
     susword(void *base, int word);

     int
     suswintr(void *base, int word);

     int
     suword(void *base, long word);

DESCRIPTION    [Toc]    [Back]

     The store functions are designed to copy small amounts of data to userspace.


     The store routines provide the following functionality:

     subyte()	 Stores a byte of data to the user-space address base.

     susword()	 Stores a short word of data to the user-space address base.

     suswintr()  Stores a short word of data to the user-space address base.
		 This function is safe to call during an interrupt context.

     suword()	 Stores a word of data to the user-space address base.

RETURN VALUES    [Toc]    [Back]

     The store functions return 0 on success or -1 on failure.

SEE ALSO    [Toc]    [Back]

      
      
     copy(9), fetch(9)


FreeBSD 5.2.1			January 7, 1996 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
tt_pattern_user_set HP-UX store information in the user data cells of a pattern object
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
fuswintr FreeBSD fetch data from user-space
fuword FreeBSD fetch data from user-space
fubyte FreeBSD fetch data from user-space
fusword FreeBSD fetch data from user-space
fetch FreeBSD fetch data from user-space
uiomove Tru64 General: Moves data between user and system virtual space
sizeof_proplist_entry Tru64 determines space necessary to store an Extended File Attribute
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service