Copyright Digital Equipment Corp. All rights reserved.

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.

                      o  EVMSERR - OpenVMS specific nontranslatable
                         error code.