hpux man page for shm_unlink

Query: shm_unlink

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

shm_unlink(2)							System Calls Manual						     shm_unlink(2)

NAME
shm_unlink - unlink a shared memory object
SYNOPSIS
DESCRIPTION
The system call removes the name of the shared memory object named by the string pointed to by name. If one or more references to the shared memory object exists when the object is unlinked, the name will be removed before returns, but the removal of the memory object con- tents will be postponed until all open and map references to the shared memory object have been removed.
RETURN VALUE
returns the following values: Successful completion. Failure, is set to indicate the error.
ERRORS
If fails, is set to one of the following values: [EACCES] Permission to unlink the named shared memory object is denied. [ENAMETOOLONG] The length of the name string exceeds or the length of a (pathname) component of the name string exceeds while is in effect. [ENOENT] The named shared memory object does not exist. [ENOSYS] is not supported by the implementation.
SEE ALSO
shm_open(2), close(2), mmap(2), munmap(2), privileges(5).
STANDARDS CONFORMANCE
shm_unlink(2)
Related Man Pages
shm_unlink(2) - mojave
shm_unlink(3c) - opensolaris
shm_open(3) - redhat
shm_unlink(3p) - suse
shm_unlink(3rt) - sunos
Similar Topics in the Unix Linux Community
How to attach a linked list to the shared memory?
Dereferencing pointer to a shared memory struct
put an 2D array in shared memory
A former shared filesystem which is not available
Does it make sense to reduce the total shared memory