shm_open.2 (2010 09)
s
shm_open(2) shm_open(2)
[EINVAL] The
shm_open() operation is not supported for the given name.
[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)
component 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), privileges(5).
STANDARDS CONFORMANCE
shm_open() in librt: POSIX 1003.1b
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010