pgm_exit(3ncs) pgm_exit(3ncs)
Name
pgm_exit - exit a program
Syntax
#include <idl/c/base.h>
#include <idl/c/pfm.h>
void pgm_$exit()
Description
The routine exits from the calling program and returns control to the process that invoked it. When is called any files left open by the
program are closed, any storage acquired is released, and asynchronous faults are reenabled if they were inhibited by the calling program.
The routine always calls with a status of status_$ok.
Files
See Also
intro(3ncs)
pgm_exit(3ncs)