Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_sem_release_id(2) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



dg_sem_release_id(2)           DG/UX R4.11MU05          dg_sem_release_id(2)


NAME
       dgsemreleaseid - release a set of binary semaphores

SYNOPSIS
       int  dgsemreleaseid (int semid)

   where:
       semid    The id of any semaphore in the set that was previously
                 allocated

DESCRIPTION
       The dgsemreleaseid system call releases a set of binary semaphores
       that was previously allocated by the process.  The semid can be the
       identifier of any semaphore in the set.

       The semaphore set must be released by the owning process.  A
       semaphore set that has not be explicitly released by this call will
       be implicitly released during process termination.

ACCESS CONTROL
       On a system with DG/UX information security, appropriate privilege is
       required by having one or more specific capabilities enabled in the
       effective capability set of the user.  See capdefaults for the
       default capabilities for this command.

RETURN VALUE
       0         Completed successfully.

       -1        An error occurred.  errno is set to indicate the error.

DIAGNOSTICS
       Errno may be set to one of the following error codes:

       EINVAL  semid is not allocated to the process.

       EACCES  The system supports DG/UX information security and the caller
               does not have appropriate privilege.

SEE ALSO
       dgsemgetid(2), dgsempend(2), dgsempost(2), capdefaults(5).


Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026