package
0.0.0-20220824021342-5961e9c4d224
Repository: https://github.com/xiaodingding/iotfast.git
Documentation: pkg.go.dev
# Functions
AttachToShmSegment used to attach to the existing shared memory segment by shared memory ID.
The args are:
key - int, used as uniques identifier for the shared memory segment
size - uint, size in bytes to allocate
permission - int, if passed zero, 0600 will be used by default
flags - IPC_CREAT, IPC_EXCL, IPC_NOWAIT.
# Constants
create if key is nonexistent */nolint:golint,stylecheck.
fail if key exists */nolint:golint,stylecheck.
return error on wait */nolint:golint,stylecheck.
Read by group.
Read by owner.
Write by group.
Write by owner.
execution access */nolint:golint,stylecheck.
lock segment (root only) */nolint:golint,stylecheck.
or S_IRUGO from <linux/stat.h> */nolint:golint,stylecheck.
attach read-only else read-write */nolint:golint,stylecheck.
take-over region on attach */nolint:golint,stylecheck.
round attach address to SHMLBA */nolint:golint,stylecheck.
unlock segment (root only) */nolint:golint,stylecheck.
or S_IWUGO from <linux/stat.h> */nolint:golint,stylecheck.
# Structs
No description provided by the author
# Type aliases
No description provided by the author