Determines whether the caller has the specified privileges
    or identifier. In addition to checking for a privilege or an
    identifier, $CHECK_PRIVILEGE determines if the caller's use of
    privilege needs to be audited.
    Format
      SYS$CHECK_PRIVILEGE  [efn] ,prvadr ,[altprv] ,[flags] ,[itmlst]
                           ,[audsts] ,[astadr] ,[astprm]
    C Prototype
      int sys$check_privilege  (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);
Additional Information:
explode
extract