[Previous] [Contents] [Next]

my_done()

a routine called when the program is about to terminate

Synopsis:

int my_done( struct _doc_ctrl *c );

Description:

This function is called when the program is about to terminate. It should:

The default version of this function does nothing.


Note: This function is called when the print filter terminates normally or abnormally.

Returns:

An exit code (usually EOK) to be returned to the shell. For other possible values, see errno in the C Library Reference.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]