OpenBSD manual page server
STORE(9) OpenBSD Kernel Manual STORE(9)
store - store data to user-space
subyte(void *base, unsigned char c);
susword(void *base, unsigned short s);
suswintr(void *base, unsigned short s);
suword(void *base, unsigned long l);
The store functions are designed to copy small amounts of data to user-
The store routines provide the following functionality:
subyte() Stores a byte of data, c, to the user-space address base.
susword() Stores a short word of data, s, to the user-space address
suswintr() Stores a short word of data, s, to the user-space address
base. This function is safe to call during an interrupt con-
suword() Stores a word of data, l, to the user-space address base.
The store routines are deprecated. All new code should use copyout().
The store functions return 0 on success or -1 on failure.
OpenBSD 3.2 January 7, 1996 1