HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)

s
shm_open(2) shm_open(2)
[EMFILE] Too many file descriptors are currently in use by this process.
[ENAMETOOLONG]
The length of the name string exceeds PATH_MAX
, or the length of a (pathname) com-
ponent of the name string exceeds
NAME_MAX while
_POSIX_NO_TRUNC is in
effect.
[ENFILE] Too many shared memory objects are currently open in the system.
[ENOENT] The
O_CREAT flag is not set in oflag and the named shared memory object does not
exist.
[ENOSPC] There are insufficient resources for the creation of the new shared memory object.
[ENOSYS]
shm_open() is not supported by the implementation.
SEE ALSO
shm_unlink(2), close(2), mmap(2), munmap(2).
STANDARDS CONFORMANCE
shm_open() in librt: POSIX 1003.1b
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 395