plexit: Error exit

`plexit`: Error exit
Prev | Chapter 18. The Specialized C/C++ API for PLplot | Next

#### `plexit`: Error exit

`plexit (` | message`)`;

This routine is called in case an error is encountered during execution of a PLplot routine. It prints the error message, tries to release allocated resources, calls the handler provided by `plsexit` and then exits. If cleanup needs to be done in the driver program then the user may want to supply his/her own exit handler and pass it in via `plsexit`. This function should either call `plend` before exiting, or simply return.

`message` (``PLCHAR_VECTOR``, input)

  Error message.

This function is not used in any of our C examples.

Prev | Up | Next
`plClearOpts`: Clear internal option table info structure | Home | `plFree2dGrid`: Free the memory associated with a PLFLT matrix allocated using `plAlloc2dGrid`