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

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

FETCH(9)

Contents


NAME    [Toc]    [Back]

     fetch, fubyte, fusword, fuswintr, fuword -- fetch data from user-space

SYNOPSIS    [Toc]    [Back]

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

     int
     fubyte(const void *base);

     int
     fusword(void *base);

     int
     fuswintr(void *base);

     long
     fuword(const void *base);

DESCRIPTION    [Toc]    [Back]

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


     The fetch routines provide the following functionality:

     fubyte()	 Fetches a byte of data from the user-space address base.

     fusword()	 Fetches a short word of data from the user-space address
		 base.

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


     fuword()	 Fetches a word of data from the user-space address base.

RETURN VALUES    [Toc]    [Back]

     The fetch functions return the data fetched or -1 on failure.

SEE ALSO    [Toc]    [Back]

      
      
     copy(9), store(9)


FreeBSD 5.2.1			January 7, 1996 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
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
suword FreeBSD store data to user-space
susword FreeBSD store data to user-space
suswintr FreeBSD store data to user-space
subyte FreeBSD store data to user-space
store FreeBSD store data to user-space
uiomove Tru64 General: Moves data between user and system virtual space
fuword NetBSD fetch data
fubyte NetBSD fetch data
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service