[Info-vax] Suppressing DCL exit status messages
Steven Schweda
sms.antinode at gmail.com
Tue Sep 12 10:36:39 EDT 2023
> See the OpenVMS Calling Standard chapter on OpenVMS Conditions [...]
Also: HELP CRTL exit
its $ type exit8.c
#include <stdlib.h>
int main( int argc, char **argv)
{
exit( 8);
}
its $
its $ cc exit8
its $ link exit8
its $ run exit8
%SYSTEM-W-ACCVIO, access violation, reason mask=00, virtual address=000000000000
0008, PC=FFFFFFFFFF561663, PS=0000000F
its $ cc exit8 /define = _POSIX_EXIT /obj=exit8p
its $ link exit8p
its $ run exit8p
its $ write sys$output $status
%X0035A041
its $ write sys$output f$message( %X0035A041)
%C-S-EXIT8, exit value 8
> [...] it's not in the manuals I just checked.
Valuable info for the psychics who know which "the manuals" those
might be.
More information about the Info-vax
mailing list