VMS Help  —  CRTL  sem_close, Return Values
    0                  Successful completion.
    -1                 Indicates an error. The function sets errno to
                       one of the following values:

                       o  EINVAL - The sem argument is not a valid
                          semaphore descriptor.

                       o  ENOSYS - The function is not implemented.

                       o  EVMSERR - OpenVMS specific nontranslatable
                          error code.
Close Help