Section: Linux Programmer's Manual (3)
Return to Main Contents
sem_unlink - remove a named semaphore
int sem_unlink(const char *name);
Link with -pthread.
removes the named semaphore referred to by
The semaphore name is removed immediately.
The semaphore is destroyed once all other processes that have
the semaphore open close it.
returns 0; on error, -1 is returned, with
set to indicate the error.
The caller does not have permission to unlink this semaphore.
was too long.
There is no semaphore with the given
This page is part of release 3.54 of the Linux
A description of the project,
and information about reporting bugs,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 14:06:06 GMT, January 22, 2018