subyte(9)

subyte9

Store data to user-space

Part of store(9).

Usage

#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);

Overview

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.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.