/* Created by SDL V3.0-2     */
/* Source:  8-AUG-1988 09:50:10 EMULEX$DISK:[MEADOWS.UNSDL.VMS4-7_H]STARLET.SDI */
#ifndef SYS$ROUTINES.TEMPLATE_
#define SYS$ROUTINES.TEMPLATE_
 
/*** MODULE STARLET ***/
/*+~sys$add_holder~+*/
long int sys$add_holder(
    const unsigned long int id,
    const unsigned int  *holder [2],
    const unsigned long int attrib
    ) ;
/*~-sys$add_holder-~*/
/*+~sys$add_ident~+*/
long int sys$add_ident(
    const struct dsc$descriptor *name,
    const unsigned long int id,
    const unsigned long int attrib,
    unsigned long int  *resid
    ) ;
/*~-sys$add_ident-~*/
/*+~sys$adjstk~+*/
long int sys$adjstk(
    unsigned long int acmode,
    short int adjust,
    unsigned long int  *newadr
    ) ;
/*~-sys$adjstk-~*/
/*+~sys$adjwsl~+*/
long int sys$adjwsl(
    long int pagcnt,
    unsigned long int  *wsetlm
    ) ;
/*~-sys$adjwsl-~*/
/*+~sys$alloc~+*/
long int sys$alloc(
    const struct dsc$descriptor *devnam,
    unsigned short int  *phylen,
    struct dsc$descriptor *phybuf,
    unsigned long int acmode,
    unsigned long int flags
    ) ;
/*~-sys$alloc-~*/
/*+~sys$ascefc~+*/
long int sys$ascefc(
    unsigned long int efn,
    const struct dsc$descriptor *name,
    char prot,
    char perm
    ) ;
/*~-sys$ascefc-~*/
/*+~sys$asctim~+*/
long int sys$asctim(
    unsigned short int  *timlen,
    struct dsc$descriptor *timbuf,
    const unsigned int  *timadr [2],
    char cvtflg
    ) ;
/*~-sys$asctim-~*/
/*+~sys$asctoid~+*/
long int sys$asctoid(
    const struct dsc$descriptor *name,
    unsigned long int  *id,
    unsigned long int  *attrib
    ) ;
/*~-sys$asctoid-~*/
/*+~sys$assign~+*/
long int sys$assign(
    const struct dsc$descriptor *devnam,
    unsigned short int  *chan,
    unsigned long int acmode,
    const struct dsc$descriptor *mbxnam
    ) ;
/*~-sys$assign-~*/
/*+~sys$bintim~+*/
long int sys$bintim(
    const struct dsc$descriptor *timbuf,
    unsigned int  *timadr [2]
    ) ;
/*~-sys$bintim-~*/
/*+~sys$brdcst~+*/
long int sys$brdcst(
    const struct dsc$descriptor *msgbuf,
    const struct dsc$descriptor *devnam,
    unsigned long int flags,
    unsigned long int carcon
    ) ;
/*~-sys$brdcst-~*/
/*+~sys$brkthru~+*/
long int sys$brkthru(
    const unsigned long int efn,
    const struct dsc$descriptor *msgbuf,
    const struct dsc$descriptor *sendto,
    const unsigned long int sndtyp,
    unsigned int  *iosb [2],
    const unsigned long int carcon,
    const unsigned long int flags,
    const unsigned long int reqid,
    const unsigned long int timout,
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$brkthru-~*/
/*+~sys$brkthruw~+*/
long int sys$brkthruw(
    const unsigned long int efn,
    const struct dsc$descriptor *msgbuf,
    const struct dsc$descriptor *sendto,
    const unsigned long int sndtyp,
    unsigned int  *iosb [2],
    const unsigned long int carcon,
    const unsigned long int flags,
    const unsigned long int reqid,
    const unsigned long int timout,
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$brkthruw-~*/
/*+~sys$cancel~+*/
long int sys$cancel(
    unsigned short int chan
    ) ;
/*~-sys$cancel-~*/
/*+~sys$canexh~+*/
long int sys$canexh(
    const int  *desblk
    ) ;
/*~-sys$canexh-~*/
/*+~sys$cantim~+*/
long int sys$cantim(
    unsigned long int reqidt,
    unsigned long int acmode
    ) ;
/*~-sys$cantim-~*/
/*+~sys$canwak~+*/
long int sys$canwak(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$canwak-~*/
/*+~sys$change_acl~+*/
long int sys$change_acl(
    unsigned short int chan,
    const unsigned long int  *objtyp,
    const struct dsc$descriptor *objnam,
    const int  *itmlst,
    const unsigned long int  *acmode,
    unsigned int  *iosb [2],
    unsigned long int  *contxt,
    ...
    /* int * *routin */
    ) ;
/*~-sys$change_acl-~*/
/*+~sys$change_class~+*/
long int sys$change_class(
    const unsigned long int  *objtyp,
    const struct dsc$descriptor *objnam,
    const int  *itmlst,
    unsigned long int acmode,
    ...
    /* int * *routin */
    ) ;
/*~-sys$change_class-~*/
/*+~sys$check_access~+*/
long int sys$check_access(
    const unsigned long int  *objtyp,
    const struct dsc$descriptor *objnam,
    const struct dsc$descriptor *usrnam,
    const int  *itmlst
    ) ;
/*~-sys$check_access-~*/
/*+~sys$chkpro~+*/
long int sys$chkpro(
    const int  *itmlst
    ) ;
/*~-sys$chkpro-~*/
/*+~sys$clref~+*/
long int sys$clref(
    unsigned long int efn
    ) ;
/*~-sys$clref-~*/
/*+~sys$close~+*/
long int sys$close(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$close-~*/
/*+~sys$cmexec~+*/
long int sys$cmexec(
    int * *routin,
    const int  *arglst
    ) ;
/*~-sys$cmexec-~*/
/*+~sys$cmkrnl~+*/
long int sys$cmkrnl(
    int * *routin,
    const int  *arglst
    ) ;
/*~-sys$cmkrnl-~*/
/*+~sys$connect~+*/
long int sys$connect(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$connect-~*/
/*+~sys$cntreg~+*/
long int sys$cntreg(
    unsigned long int pagcnt,
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    char region
    ) ;
/*~-sys$cntreg-~*/
/*+~sys$create~+*/
long int sys$create(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$create-~*/
/*+~sys$create_rdb~+*/
long int sys$create_rdb(
    const unsigned int  *sysid [2]
    ) ;
/*~-sys$create_rdb-~*/
/*+~sys$crelnm~+*/
long int sys$crelnm(
    unsigned long int  *attr,
    const struct dsc$descriptor *tabnam,
    const struct dsc$descriptor *lognam,
    unsigned char  *acmode,
    const int  *itmlst
    ) ;
/*~-sys$crelnm-~*/
/*+~sys$crelnt~+*/
long int sys$crelnt(
    unsigned long int  *attr,
    struct dsc$descriptor *resnam,
    unsigned short int  *reslen,
    unsigned long int  *quota,
    unsigned short int  *promsk,
    const struct dsc$descriptor *tabnam,
    const struct dsc$descriptor *partab,
    unsigned char  *acmode
    ) ;
/*~-sys$crelnt-~*/
/*+~sys$crelog~+*/
long int sys$crelog(
    unsigned long int tblflg,
    const struct dsc$descriptor *lognam,
    const struct dsc$descriptor *eqlnam,
    unsigned long int acmode
    ) ;
/*~-sys$crelog-~*/
/*+~sys$crembx~+*/
long int sys$crembx(
    char prmflg,
    unsigned short int  *chan,
    unsigned long int maxmsg,
    unsigned long int bufquo,
    unsigned long int promsk,
    unsigned long int acmode,
    const struct dsc$descriptor *lognam
    ) ;
/*~-sys$crembx-~*/
/*+~sys$creprc~+*/
long int sys$creprc(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *image,
    const struct dsc$descriptor *input,
    const struct dsc$descriptor *output,
    const struct dsc$descriptor *error,
    const unsigned int  *prvadr [2],
    const int  *quota,
    const struct dsc$descriptor *prcnam,
    unsigned long int baspri,
    unsigned long int uic,
    unsigned short int mbxunt,
    unsigned long int stsflg,
    const int  *itmlst
    ) ;
/*~-sys$creprc-~*/
/*+~sys$cretva~+*/
long int sys$cretva(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$cretva-~*/
/*+~sys$crmpsc~+*/
long int sys$crmpsc(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    unsigned long int flags,
    const struct dsc$descriptor *gsdnam,
    const unsigned int  *ident [2],
    unsigned long int relpag,
    unsigned short int chan,
    unsigned long int pagcnt,
    unsigned long int vbn,
    unsigned long int prot,
    unsigned long int pfc
    ) ;
/*~-sys$crmpsc-~*/
/*+~sys$dacefc~+*/
long int sys$dacefc(
    unsigned long int efn
    ) ;
/*~-sys$dacefc-~*/
/*+~sys$dalloc~+*/
long int sys$dalloc(
    const struct dsc$descriptor *devnam,
    unsigned long int acmode
    ) ;
/*~-sys$dalloc-~*/
/*+~sys$dassgn~+*/
long int sys$dassgn(
    unsigned short int chan
    ) ;
/*~-sys$dassgn-~*/
/*+~sys$dclast~+*/
long int sys$dclast(
    int * *astadr,
    unsigned long int astprm,
    unsigned long int acmode
    ) ;
/*~-sys$dclast-~*/
/*+~sys$dclcmh~+*/
long int sys$dclcmh(
    int * *addres,
    unsigned long int  *prvhnd,
    char type
    ) ;
/*~-sys$dclcmh-~*/
/*+~sys$dclexh~+*/
long int sys$dclexh(
    const int  *desblk
    ) ;
/*~-sys$dclexh-~*/
/*+~sys$delete~+*/
long int sys$delete(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$delete-~*/
/*+~sys$dellnm~+*/
long int sys$dellnm(
    const struct dsc$descriptor *tabnam,
    const struct dsc$descriptor *lognam,
    unsigned char  *acmode
    ) ;
/*~-sys$dellnm-~*/
/*+~sys$dellog~+*/
long int sys$dellog(
    unsigned long int tblflg,
    const struct dsc$descriptor *lognam,
    unsigned long int acmode
    ) ;
/*~-sys$dellog-~*/
/*+~sys$delmbx~+*/
long int sys$delmbx(
    unsigned short int chan
    ) ;
/*~-sys$delmbx-~*/
/*+~sys$delprc~+*/
long int sys$delprc(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$delprc-~*/
/*+~sys$deltva~+*/
long int sys$deltva(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$deltva-~*/
/*+~sys$deq~+*/
long int sys$deq(
    unsigned long int lkid,
    int  *valblk,
    unsigned long int acmode,
    unsigned long int flags
    ) ;
/*~-sys$deq-~*/
/*+~sys$dgblsc~+*/
long int sys$dgblsc(
    unsigned long int flags,
    const struct dsc$descriptor *gsdnam,
    const unsigned int  *ident [2]
    ) ;
/*~-sys$dgblsc-~*/
/*+~sys$disconnect~+*/
long int sys$disconnect(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$disconnect-~*/
/*+~sys$dismou~+*/
long int sys$dismou(
    const struct dsc$descriptor *devnam,
    unsigned long int flags
    ) ;
/*~-sys$dismou-~*/
/*+~sys$display~+*/
long int sys$display(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$display-~*/
/*+~sys$dlcefc~+*/
long int sys$dlcefc(
    const struct dsc$descriptor *name
    ) ;
/*~-sys$dlcefc-~*/
/*+~sys$enq~+*/
long int sys$enq(
    unsigned long int efn,
    unsigned long int lkmode,
    int  *lksb,
    unsigned long int flags,
    const struct dsc$descriptor *resnam,
    unsigned long int parid,
    int * *astadr,
    unsigned long int astprm,
    int * *blkast,
    unsigned long int acmode,
    unsigned long int prot
    ) ;
/*~-sys$enq-~*/
/*+~sys$enqw~+*/
long int sys$enqw(
    unsigned long int efn,
    unsigned long int lkmode,
    int  *lksb,
    unsigned long int flags,
    const struct dsc$descriptor *resnam,
    unsigned long int parid,
    int * *astadr,
    unsigned long int astprm,
    int * *blkast,
    unsigned long int acmode,
    unsigned long int prot
    ) ;
/*~-sys$enqw-~*/
/*+~sys$enter~+*/
long int sys$enter(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$enter-~*/
/*+~sys$erapat~+*/
long int sys$erapat(
    long int type,
    unsigned long int count,
    unsigned long int  *patadr
    ) ;
/*~-sys$erapat-~*/
/*+~sys$erase~+*/
long int sys$erase(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$erase-~*/
/*+~sys$exit~+*/
long int sys$exit(
    unsigned long int code
    ) ;
/*~-sys$exit-~*/
/*+~sys$expreg~+*/
long int sys$expreg(
    unsigned long int pagcnt,
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    char region
    ) ;
/*~-sys$expreg-~*/
/*+~sys$extend~+*/
long int sys$extend(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$extend-~*/
/*+~sys$fao~+*/
long int sys$fao(
    const struct dsc$descriptor *ctrstr,
    unsigned short int  *outlen,
    struct dsc$descriptor *outbuf,
    long int p1
    ) ;
/*~-sys$fao-~*/
/*+~sys$faol~+*/
long int sys$faol(
    const struct dsc$descriptor *ctrstr,
    unsigned short int  *outlen,
    struct dsc$descriptor *outbuf,
    const int  *prmlst
    ) ;
/*~-sys$faol-~*/
/*+~sys$filescan~+*/
long int sys$filescan(
    const struct dsc$descriptor *srcstr,
    int  *valuelst,
    unsigned long int  *fldflags
    ) ;
/*~-sys$filescan-~*/
/*+~sys$find~+*/
long int sys$find(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$find-~*/
/*+~sys$find_held~+*/
long int sys$find_held(
    const unsigned int  *holder [2],
    unsigned long int  *id,
    unsigned long int  *attrib,
    unsigned long int  *contxt
    ) ;
/*~-sys$find_held-~*/
/*+~sys$find_holder~+*/
long int sys$find_holder(
    const unsigned long int id,
    unsigned int  *holder [2],
    unsigned long int  *attrib,
    unsigned long int  *contxt
    ) ;
/*~-sys$find_holder-~*/
/*+~sys$finish_rdb~+*/
long int sys$finish_rdb(
    unsigned long int  *contxt
    ) ;
/*~-sys$finish_rdb-~*/
/*+~sys$forcex~+*/
long int sys$forcex(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    unsigned long int code
    ) ;
/*~-sys$forcex-~*/
/*+~sys$format_acl~+*/
long int sys$format_acl(
    const struct dsc$descriptor *aclent,
    unsigned short int  *acllen,
    struct dsc$descriptor *aclstr,
    const unsigned short int  *width,
    const struct dsc$descriptor *trmdsc,
    const unsigned short int  *indent,
    const int  *accnam,
    ...
    /* int * *routin */
    ) ;
/*~-sys$format_acl-~*/
/*+~sys$format_class~+*/
long int sys$format_class(
    const int  *itmlst,
    ...
    /* int * *routin */
    ) ;
/*~-sys$format_class-~*/
/*+~sys$free~+*/
long int sys$free(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$free-~*/
/*+~sys$flush~+*/
long int sys$flush(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$flush-~*/
/*+~sys$get~+*/
long int sys$get(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$get-~*/
/*+~sys$getchn~+*/
long int sys$getchn(
    unsigned short int chan,
    unsigned short int  *prilen,
    struct dsc$descriptor *pribuf,
    unsigned short int  *scdlen,
    struct dsc$descriptor *scdbuf
    ) ;
/*~-sys$getchn-~*/
/*+~sys$getdev~+*/
long int sys$getdev(
    const struct dsc$descriptor *devnam,
    unsigned short int  *prilen,
    struct dsc$descriptor *pribuf,
    unsigned short int  *scdlen,
    struct dsc$descriptor *scdbuf
    ) ;
/*~-sys$getdev-~*/
/*+~sys$getdvi~+*/
long int sys$getdvi(
    unsigned long int efn,
    unsigned short int chan,
    const struct dsc$descriptor *devnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    unsigned int  *nullarg [2]
    ) ;
/*~-sys$getdvi-~*/
/*+~sys$getdviw~+*/
long int sys$getdviw(
    unsigned long int efn,
    unsigned short int chan,
    const struct dsc$descriptor *devnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    unsigned int  *nullarg [2]
    ) ;
/*~-sys$getdviw-~*/
/*+~sys$getjpi~+*/
long int sys$getjpi(
    unsigned long int efn,
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getjpi-~*/
/*+~sys$getjpiw~+*/
long int sys$getjpiw(
    unsigned long int efn,
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getjpiw-~*/
/*+~sys$getlki~+*/
long int sys$getlki(
    unsigned long int efn,
    unsigned long int  *lkidadr,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    unsigned long int reserved
    ) ;
/*~-sys$getlki-~*/
/*+~sys$getlkiw~+*/
long int sys$getlkiw(
    unsigned long int efn,
    unsigned long int  *lkidadr,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    unsigned long int reserved
    ) ;
/*~-sys$getlkiw-~*/
/*+~sys$getmsg~+*/
long int sys$getmsg(
    unsigned long int msgid,
    unsigned short int  *msglen,
    struct dsc$descriptor *bufadr,
    unsigned long int flags,
    unsigned char  *outadr [4]
    ) ;
/*~-sys$getmsg-~*/
/*+~sys$getpti~+*/
long int sys$getpti(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    unsigned long int mask,
    unsigned long int pagcnt
    ) ;
/*~-sys$getpti-~*/
/*+~sys$getqui~+*/
long int sys$getqui(
    unsigned long int efn,
    unsigned short int func,
    unsigned long int nullarg,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getqui-~*/
/*+~sys$getquiw~+*/
long int sys$getquiw(
    unsigned long int efn,
    unsigned short int func,
    unsigned long int nullarg,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getquiw-~*/
/*+~sys$getsyi~+*/
long int sys$getsyi(
    unsigned long int efn,
    unsigned long int  *csidadr,
    const struct dsc$descriptor *nodename,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getsyi-~*/
/*+~sys$getsyiw~+*/
long int sys$getsyiw(
    unsigned long int efn,
    unsigned long int  *csidadr,
    const struct dsc$descriptor *nodename,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getsyiw-~*/
/*+~sys$gettim~+*/
long int sys$gettim(
    unsigned int  *timadr [2]
    ) ;
/*~-sys$gettim-~*/
/*+~sys$getuai~+*/
long int sys$getuai(
    unsigned long int efn,
    unsigned long int  *contxt,
    const struct dsc$descriptor *usrnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$getuai-~*/
/*+~sys$grantid~+*/
long int sys$grantid(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    unsigned int  *id [2],
    const struct dsc$descriptor *name,
    unsigned long int  *prvatr
    ) ;
/*~-sys$grantid-~*/
/*+~sys$hiber~+*/
long int sys$hiber() ;
/*~-sys$hiber-~*/
/*+~sys$idtoasc~+*/
long int sys$idtoasc(
    const unsigned long int id,
    unsigned short int  *namlen,
    struct dsc$descriptor *nambuf,
    unsigned long int  *resid,
    unsigned long int  *attrib,
    unsigned long int  *contxt
    ) ;
/*~-sys$idtoasc-~*/
/*+~sys$imgact~+*/
long int sys$imgact(
    const struct dsc$descriptor *name,
    const struct dsc$descriptor *dflnam,
    int * *hdrbuf,
    unsigned long int imgctl,
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    const unsigned int  *ident [2],
    unsigned long int acmode
    ) ;
/*~-sys$imgact-~*/
/*+~sys$imgfix~+*/
long int sys$imgfix() ;
/*~-sys$imgfix-~*/
/*+~sys$lckpag~+*/
long int sys$lckpag(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$lckpag-~*/
/*+~sys$lkwset~+*/
long int sys$lkwset(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$lkwset-~*/
/*+~sys$mgblsc~+*/
long int sys$mgblsc(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    unsigned long int flags,
    const struct dsc$descriptor *gsdnam,
    const unsigned int  *ident [2],
    unsigned long int relpag
    ) ;
/*~-sys$mgblsc-~*/
/*+~sys$modify~+*/
long int sys$modify(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$modify-~*/
/*+~sys$mod_holder~+*/
long int sys$mod_holder(
    const unsigned long int id,
    const unsigned int  *holder [2],
    const unsigned long int set_attrib,
    const unsigned long int clr_attrib
    ) ;
/*~-sys$mod_holder-~*/
/*+~sys$mod_ident~+*/
long int sys$mod_ident(
    const unsigned long int id,
    const unsigned long int set_attrib,
    const unsigned long int clr_attrib,
    const struct dsc$descriptor *new_name,
    const unsigned long int new_value
    ) ;
/*~-sys$mod_ident-~*/
/*+~sys$mount~+*/
long int sys$mount(
    const int  *itmlst
    ) ;
/*~-sys$mount-~*/
/*+~sys$mtaccess~+*/
long int sys$mtaccess(
    unsigned long int  *lblnam,
    unsigned long int uic,
    unsigned long int std_version,
    unsigned long int access_char,
    unsigned long int access_spec,
    unsigned long int type
    ) ;
/*~-sys$mtaccess-~*/
/*+~sys$numtim~+*/
long int sys$numtim(
    unsigned short int  *timbuf [7],
    const unsigned int  *timadr [2]
    ) ;
/*~-sys$numtim-~*/
/*+~sys$nxtvol~+*/
long int sys$nxtvol(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$nxtvol-~*/
/*+~sys$open~+*/
long int sys$open(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$open-~*/
/*+~sys$parse~+*/
long int sys$parse(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$parse-~*/
/*+~sys$parse_acl~+*/
long int sys$parse_acl(
    const struct dsc$descriptor *aclstr,
    struct dsc$descriptor *aclent,
    unsigned short int  *errpos,
    const int  *accnam,
    ...
    /* int * *routin */
    ) ;
/*~-sys$parse_acl-~*/
/*+~sys$parse_class~+*/
long int sys$parse_class(
    const int  *itmlst,
    ...
    /* int * *routin */
    ) ;
/*~-sys$parse_class-~*/
/*+~sys$purgws~+*/
long int sys$purgws(
    const unsigned long int  *inadr [2]
    ) ;
/*~-sys$purgws-~*/
/*+~sys$put~+*/
long int sys$put(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$put-~*/
/*+~sys$putmsg~+*/
long int sys$putmsg(
    const int  *msgvec,
    int * *actrtn,
    const struct dsc$descriptor *facnam,
    unsigned long int actprm
    ) ;
/*~-sys$putmsg-~*/
/*+~sys$qio~+*/
long int sys$qio(
    unsigned long int efn,
    unsigned short int chan,
    unsigned short int func,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    const int  *p1,
    long int p2,
    long int p3,
    long int p4,
    long int p5,
    long int p6
    ) ;
/*~-sys$qio-~*/
/*+~sys$qiow~+*/
long int sys$qiow(
    unsigned long int efn,
    unsigned short int chan,
    unsigned short int func,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm,
    const int  *p1,
    long int p2,
    long int p3,
    long int p4,
    long int p5,
    long int p6
    ) ;
/*~-sys$qiow-~*/
/*+~sys$read~+*/
long int sys$read(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$read-~*/
/*+~sys$readef~+*/
long int sys$readef(
    unsigned long int efn,
    unsigned long int  *state
    ) ;
/*~-sys$readef-~*/
/*+~sys$release~+*/
long int sys$release(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$release-~*/
/*+~sys$remove~+*/
long int sys$remove(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$remove-~*/
/*+~sys$rem_holder~+*/
long int sys$rem_holder(
    const unsigned long int id,
    const unsigned int  *holder [2]
    ) ;
/*~-sys$rem_holder-~*/
/*+~sys$rem_ident~+*/
long int sys$rem_ident(
    const unsigned long int id
    ) ;
/*~-sys$rem_ident-~*/
/*+~sys$rename~+*/
long int sys$rename(
    int  *oldfab,
    int * *err,
    int * *suc,
    int  *newfab
    ) ;
/*~-sys$rename-~*/
/*+~sys$resume~+*/
long int sys$resume(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$resume-~*/
/*+~sys$revokid~+*/
long int sys$revokid(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    unsigned int  *id [2],
    const struct dsc$descriptor *name,
    unsigned long int  *prvatr
    ) ;
/*~-sys$revokid-~*/
/*+~sys$rewind~+*/
long int sys$rewind(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$rewind-~*/
/*+~sys$rundwn~+*/
long int sys$rundwn(
    unsigned long int acmode
    ) ;
/*~-sys$rundwn-~*/
/*+~sys$schdwk~+*/
long int sys$schdwk(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    const unsigned int  *daytim [2],
    const unsigned int  *reptim [2]
    ) ;
/*~-sys$schdwk-~*/
/*+~sys$search~+*/
long int sys$search(
    int  *fab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$search-~*/
/*+~sys$setast~+*/
long int sys$setast(
    char enbflg
    ) ;
/*~-sys$setast-~*/
/*+~sys$setef~+*/
long int sys$setef(
    unsigned long int efn
    ) ;
/*~-sys$setef-~*/
/*+~sys$setexv~+*/
long int sys$setexv(
    unsigned long int vector,
    int * *addres,
    unsigned long int acmode,
    unsigned long int  *prvhnd
    ) ;
/*~-sys$setexv-~*/
/*+~sys$setime~+*/
long int sys$setime(
    const unsigned int  *timadr [2]
    ) ;
/*~-sys$setime-~*/
/*+~sys$setimr~+*/
long int sys$setimr(
    unsigned long int efn,
    const unsigned int  *daytim [2],
    int * *astadr,
    unsigned long int reqidt
    ) ;
/*~-sys$setimr-~*/
/*+~sys$setpfm~+*/
long int sys$setpfm(
    const unsigned long int pfmflg,
    const int * *astadr,
    const unsigned long int astprm,
    const unsigned long int acmode
    ) ;
/*~-sys$setpfm-~*/
/*+~sys$setpra~+*/
long int sys$setpra(
    int * *astadr,
    unsigned long int acmode
    ) ;
/*~-sys$setpra-~*/
/*+~sys$setpri~+*/
long int sys$setpri(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam,
    unsigned long int pri,
    unsigned long int  *prvpri
    ) ;
/*~-sys$setpri-~*/
/*+~sys$setprn~+*/
long int sys$setprn(
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$setprn-~*/
/*+~sys$setprt~+*/
long int sys$setprt(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    unsigned long int prot,
    unsigned char  *prvprt
    ) ;
/*~-sys$setprt-~*/
/*+~sys$setprv~+*/
long int sys$setprv(
    char enbflg,
    const unsigned int  *prvadr [2],
    char prmflg,
    unsigned int  *prvprv [2]
    ) ;
/*~-sys$setprv-~*/
/*+~sys$setrwm~+*/
long int sys$setrwm(
    char watflg
    ) ;
/*~-sys$setrwm-~*/
/*+~sys$setsfm~+*/
long int sys$setsfm(
    char enbflg
    ) ;
/*~-sys$setsfm-~*/
/*+~sys$setssf~+*/
long int sys$setssf(
    unsigned long int mask
    ) ;
/*~-sys$setssf-~*/
/*+~sys$setstk~+*/
long int sys$setstk(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$setstk-~*/
/*+~sys$setswm~+*/
long int sys$setswm(
    char swpflg
    ) ;
/*~-sys$setswm-~*/
/*+~sys$setuai~+*/
long int sys$setuai(
    unsigned long int efn,
    unsigned long int  *contxt,
    const struct dsc$descriptor *usrnam,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$setuai-~*/
/*+~sys$sndacc~+*/
long int sys$sndacc(
    const struct dsc$descriptor *msgbuf,
    unsigned short int chan
    ) ;
/*~-sys$sndacc-~*/
/*+~sys$snderr~+*/
long int sys$snderr(
    const struct dsc$descriptor *msgbuf
    ) ;
/*~-sys$snderr-~*/
/*+~sys$sndopr~+*/
long int sys$sndopr(
    const struct dsc$descriptor *msgbuf,
    unsigned short int chan
    ) ;
/*~-sys$sndopr-~*/
/*+~sys$sndsmb~+*/
long int sys$sndsmb(
    const struct dsc$descriptor *msgbuf,
    unsigned short int chan
    ) ;
/*~-sys$sndsmb-~*/
/*+~sys$sndjbc~+*/
long int sys$sndjbc(
    unsigned long int efn,
    unsigned short int func,
    unsigned long int nullarg,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$sndjbc-~*/
/*+~sys$sndjbcw~+*/
long int sys$sndjbcw(
    unsigned long int efn,
    unsigned short int func,
    unsigned long int nullarg,
    const int  *itmlst,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$sndjbcw-~*/
/*+~sys$space~+*/
long int sys$space(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$space-~*/
/*+~sys$suspnd~+*/
long int sys$suspnd(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$suspnd-~*/
/*+~sys$synch~+*/
long int sys$synch(
    unsigned long int efn,
    unsigned int  *iosb [2]
    ) ;
/*~-sys$synch-~*/
/*+~sys$trnlnm~+*/
long int sys$trnlnm(
    unsigned long int  *attr,
    const struct dsc$descriptor *tabnam,
    const struct dsc$descriptor *lognam,
    unsigned char  *acmode,
    const int  *itmlst
    ) ;
/*~-sys$trnlnm-~*/
/*+~sys$trnlog~+*/
long int sys$trnlog(
    const struct dsc$descriptor *lognam,
    unsigned short int  *rsllen,
    struct dsc$descriptor *rslbuf,
    unsigned char  *table,
    unsigned char  *acmode,
    unsigned long int dsbmsk
    ) ;
/*~-sys$trnlog-~*/
/*+~sys$truncate~+*/
long int sys$truncate(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$truncate-~*/
/*+~sys$ulkpag~+*/
long int sys$ulkpag(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$ulkpag-~*/
/*+~sys$ulwset~+*/
long int sys$ulwset(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode
    ) ;
/*~-sys$ulwset-~*/
/*+~sys$unwind~+*/
long int sys$unwind(
    const unsigned long int  *depadr,
    const unsigned long int  *newpc
    ) ;
/*~-sys$unwind-~*/
/*+~sys$update~+*/
long int sys$update(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$update-~*/
/*+~sys$updsec~+*/
long int sys$updsec(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    char updflg,
    unsigned long int efn,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$updsec-~*/
/*+~sys$updsecw~+*/
long int sys$updsecw(
    const unsigned long int  *inadr [2],
    unsigned long int  *retadr [2],
    unsigned long int acmode,
    char updflg,
    unsigned long int efn,
    unsigned int  *iosb [2],
    int * *astadr,
    unsigned long int astprm
    ) ;
/*~-sys$updsecw-~*/
/*+~sys$wait~+*/
long int sys$wait(
    int  *rab
    ) ;
/*~-sys$wait-~*/
/*+~sys$waitfr~+*/
long int sys$waitfr(
    unsigned long int efn
    ) ;
/*~-sys$waitfr-~*/
/*+~sys$wake~+*/
long int sys$wake(
    unsigned long int  *pidadr,
    const struct dsc$descriptor *prcnam
    ) ;
/*~-sys$wake-~*/
/*+~sys$wfland~+*/
long int sys$wfland(
    unsigned long int efn,
    unsigned long int mask
    ) ;
/*~-sys$wfland-~*/
/*+~sys$wflor~+*/
long int sys$wflor(
    unsigned long int efn,
    unsigned long int mask
    ) ;
/*~-sys$wflor-~*/
/*+~sys$write~+*/
long int sys$write(
    int  *rab,
    ...
    /* int * *err, */
    /* int * *suc */
    ) ;
/*~-sys$write-~*/
#endif
