From: Larry D Bohan, Jr [LBohan@dbc.spam_less..com] Sent: Tuesday, October 12, 1999 10:24 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: Calling a system service On Mon, 11 Oct 1999 23:32:28 -0400, David A Froble wrote: >"Brian Schenkenberger, VAXman-" wrote: >> >> In article <1999Oct11.175351.1@eisner>, kilgallen@eisner.decus.org (Larry Kilgallen) writes: >> >Your other post said you do it from Basic. >> >I agree that compilers can and do catch such errors, >> >but Tomasz Dryjanski is trying to do it from C, >> >a much lower level language. >> >> Lower level like pond scums and slime molds would be in the Elizabeth Chain >> of Being? ;) >> >> -- >> VAXman- OpenVMS APE certification number: AAA-0001 VAXman@TMESIS.COM > >Yeah, real low! If you're not going to use a compiler that can do some simple >syntax checking and other cook book reciepe stuff, then why not just program >the damn thing in ones and zeros? :-) > >Dave it's probably worth pointing out, that in a pinch, on the later versions of Alpha, if you use #include starlet, and also compile w/ __NEW_STARLET, you will drag in more complete function prototypes ... .... #define sys$getuai SYS$GETUAI #ifdef __cplusplus /* Define structure prototypes */ struct _iosb; #endif /* #ifdef __cplusplus */ #ifdef __NEW_STARLET int sys$getuai( unsigned int efn, unsigned int *contxt, void *usrnam, void *itmlst, struct _iosb *iosb, void (*astadr)(__unknown_params), int astprm); #else /* __OLD_STARLET */ int sys$getuai(__unknown_params); #endif /* #ifdef __NEW_STARLET */ ...