Reference

shmwrite(1)

writes to a shared memory segment

NAME

shmwrite - writes to a shared memory segment

SYNOPSIS

msgwrite -i id -o offset -l length

DESCRIPTION

shmread exercises the shmat (2) and shmdt (2) system calls to attach to a memory segment and write information to it.

OPTIONS

-i Shared Memory Segment ID. The shared memory segment ID is required. -o Offset. The offset (in bytes) within the segment to start writing. -l Length. The number of bytes to allocate for the segment.

SEE ALSO

shmget(1), shmsid(1), shmread(1), shmperm(1), shmat(2), shmdt(2).