suswintr(9) store data to user-space

Other Alias

store, subyte, suword

SYNOPSIS

In sys/types.h In sys/time.h In sys/systm.h Ft int Fn subyte void *base int byte Ft int Fn suword void *base long word Ft int Fn suword16 void *base int word Ft int Fn suword32 void *base int32_t word Ft int Fn suword64 void *base int64_t word In sys/resourcevar.h Ft int Fn suswintr void *base int word

DESCRIPTION

The functions are designed to copy small amounts of data to user-space.

The routines provide the following functionality:

Fn subyte
Stores a byte of data to the user-space address base
Fn suword
Stores a word of data to the user-space address base
Fn suword16
Stores 16 bits of data to the user-space address base
Fn suword32
Stores 32 bits of data to the user-space address base
Fn suword64
Stores 64 bits of data to the user-space address base
Fn suswintr
Stores a short word of data to the user-space address base This function is safe to call during an interrupt context.

RETURN VALUES

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