store(9) netbsd man page | unix.com

Man Page: store

Operating Environment: netbsd

Section: 9

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

NAME
store, subyte, suibyte, susword, suswintr, suword, suiword -- store data to user-space
SYNOPSIS
#include <sys/types.h> #include <sys/systm.h> int subyte(void *base, int c); int susword(void *base, short c); int suswintr(void *base, short c); int suword(void *base, long c);
DESCRIPTION
The store functions are designed to copy small amounts of data to the user-space of the currently running process. 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
Related Man Pages
suword32(9) - debian
suword16(9) - debian
suword32(9) - freebsd
suword(9) - freebsd
suword16(9) - freebsd
Similar Topics in the Unix Linux Community
At the Apple Store in McLean...
How to read values and store in array?
Ufsrestore on SunBlade 2500
Restore .dmg containing multiple partitions to bootable USB flash drive
How to store the passwords securely and use in scripts?