unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (Darwin-7.0.1-ppc)
Page:
Section:
Apropos / Subsearch:
optional field

STORE(9)                 BSD Kernel Developer's Manual                STORE(9)

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

SYNOPSIS
     #include <&lt;sys/types.h>&gt;
     #include <&lt;sys/time.h>&gt;
     #include <&lt;sys/systm.h>&gt;
     #include <&lt;sys/resourcevar.h>&gt;

     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
     The store functions are designed to copy small amounts of data to user-
     space.

     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
     The store functions return 0 on success or -1 on failure.

SEE ALSO
     copy(9), fetch(9)

BSD                             January 7, 1996                            BSD