logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

store, subyte, suword — store data to user-space

Description

       The store functions are designed to copy small amounts of data to user-space.  If write is successful, it
       is performed atomically.  The data written must be naturally aligned.

       The store routines provide the following functionality:

       subyte()    Stores a byte of data to the user-space address base.

       suword()    Stores a word of data to the user-space address base.

       suword16()  Stores 16 bits of data to the user-space address base.

       suword32()  Stores 32 bits of data to the user-space address base.

       suword64()  Stores 64 bits of data to the user-space address base.

Name

       store, subyte, suword — store data to user-space

Return Values

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

See Also

copy(9), fetch(9)

Debian                                           April 17, 2018                                         STORE(9)

Synopsis

#include<sys/types.h>#include<sys/time.h>#include<sys/systm.h>intsubyte(volatilevoid*base, intbyte);

       intsuword(volatilevoid*base, longword);

       intsuword16(volatilevoid*base, intword);

       intsuword32(volatilevoid*base, int32_tword);

       intsuword64(volatilevoid*base, int64_tword);

       #include<sys/resourcevar.h>

See Also