shmctl - shared memory control operations
Standard C Library (libc, -lc)
#include <sys/shm.h>
int
shmctl(int shmid, int cmd, struct shmid_ds *buf); executed determined segment.
An attempt was made to increase the value of
shm_qbytes through IPC_SET but the caller is not the
super-user.
[EACCES] The command is IPC_STAT and the caller has no read
permission for this shared memory segment.
[EINVAL] shmid is not a valid shared memory segment identifier.
cmd is not a valid command.
[EFAULT] buf specifies an invalid address.
shmat(2), shmget(2)
The shmctl system call conforms to X/Open System Interfaces and Headers
Issue 5 (``XSH5'').
Shared memory segments appeared in the first release of AT&T System V
UNIX.
BSD August 25, 1999 BSD