VMS Help  —  System Services, $GETLKIW
    Returns information about the lock database on a system.

    The $GETLKIW service completes synchronously; that is, it returns
    to the caller with the requested information.

    For asynchronous completion, use the Get Lock Information
    ($GETLKI) service; $GETLKI returns to the caller after queuing
    the information request, without waiting for the information to
    be returned.

    In all other respects, $GETLKIW is identical to $GETLKI. For all
    other information about the $GETLKIW service, see the description
    of $GETLKI in this manual.

    The $GETLKI, $GETLKIW, $ENQ, $ENQW, and $DEQ services together
    provide the user interface to the Lock Management facility.

    Format

      SYS$GETLKIW  [efn] ,lkidadr ,itmlst [,iosb] [,astadr] [,astprm]

                   [,nullarg]

    C Prototype

      int sys$getlkiw  (unsigned int efn, unsigned int *lkidadr,

                       void *itmlst, struct _iosb *iosb, void

                       (*astadr)(__unknown_params), int astprm,

                       unsigned int reserved);
Close Help