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 pgm_$exit routine exits from the calling program and returns control to the process that invoked it. When pgm_$exit 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 pgm_$exit routine always calls pfm_$signal() with a status of status_$ok.
Files
/usr/include/idl/c/base.h
/usr/include/idl/base.idl
/usr/include/idl/c/pfm.h