*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> sem_unlink (3)              
Title
Content
Arch
Section
 

SEM_OPEN(3)

Contents


NAME    [Toc]    [Back]

     sem_open, sem_close, sem_unlink - named semaphore operations

SYNOPSIS    [Toc]    [Back]

     #include <semaphore.h>

     sem_t *
     sem_open(const char *name, int oflag, ...);

     int
     sem_close(sem_t *sem);

     int
     sem_unlink(const char *name);

DESCRIPTION    [Toc]    [Back]

     The  sem_open(), sem_close(), and sem_unlink() functions are
not supported
     by this implementation.

RETURN VALUES    [Toc]    [Back]

     sem_open() returns SEM_FAILED and sets errno to indicate  an
error.
     sem_close()  and sem_unlink() return -1 and set errno to indicate an error.

ERRORS    [Toc]    [Back]

     sem_open(), sem_close(), and sem_unlink() will fail:

     [ENOSYS]      Function not supported by this implementation.

STANDARDS    [Toc]    [Back]

     sem_open(), sem_close(), and sem_unlink() conform to ISO/IEC
9945-1:1996
     (``POSIX'').

OpenBSD     3.6                        February     15,      2000
[ Back ]
 Similar pages
Name OS Title
sem_close HP-UX close a named POSIX semaphore
sem_close Tru64 Deallocates the specified named semaphore (P1003.1b)
sem_unlink HP-UX unlink a named POSIX semaphore
sem_close IRIX close a posix named semaphore
sem_getvalue IRIX get the value of a posix named or unnamed semaphore
sem_open IRIX open a posix named semaphore
sem_unlink IRIX deletes a posix named semaphore
sem_unlink Tru64 Removes the specified named semaphore (P1003.1b)
sem_wait IRIX acquire a posix named or unnamed semaphore
sem_open HP-UX create/open a named POSIX semaphore
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service