Open System Services System Calls Reference Manual (G06.25+, H06.03+)

shmctl(2) OSS System Calls Reference Manual
The cmd parameter is IPC_SET, and the buf structure is not in the
address space of the process.
[EINVAL] One of the following conditions exists:
The shmid parameter does not specify a valid shared memory identier.
The cmd parameter is not a valid command.
[ENOTOSS] The calling process is not an OSS process. The requested operation is not sup-
ported from the Guardian environment.
[EPERM] The cmd parameter is equal to either IPC_RMID or IPC_SET, and the calling
process does not have the correct privileges.
RELATED INFORMATION
Commands: ipcrm(1), ipcs(1).
Functions: shmat(2), shmdt(2), shmget(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specication:
The errno values [EFAULT] and [ENOTOSS] can be returned.
750 Hewlett-Packard Company 527186-003