Library /sys$common/syshlp/helplib.hlb  —  System Services, $CHECK PRIVILEGEW
    Determines whether the caller has the specified privileges
    or identifier. In addition to checking for a privilege or an
    identifier, the Check Privilege and Wait service determines if
    the caller's use of privilege needs to be audited.

    $CHECK_PRIVILEGEW completes synchronously; that is, it returns
    the final status to the caller only after receiving an explicit
    confirmation from the audit server that the associated audit, if
    enabled, has been performed.

    Format

      SYS$CHECK_PRIVILEGEW  efn ,prvadr ,[altprv] ,[flags] ,[itmlst]

                            ,audsts ,[astadr] ,[astprm]

    C Prototype

      int sys$check_privilegew  (unsigned int efn, struct _generic_64

                                *prvadr, struct _generic_64

                                *altprv, unsigned int flags, void

                                *itmlst, unsigned int *audsts, void

                                (*astadr)(__unknown_params), int

                                astprm);
Close Help