FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

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

 

NAME

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

SYNOPSIS

      #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

      The fetch functions are designed to copy small amounts of data from user-
      space.
 
      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 con‐
                  text.
 
      fuword()    Fetches a word of data from the user-space address base.
      The fetch functions return the data fetched or -1 on failure.
      copy(9), store(9)
 

Sections

Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.