pioexit Subroutine

Purpose

Exits from a printer formatter.

Library

None (linked with the pioformat formatter driver)

Syntax

#include <piostruct.h>
  
void pioexit ( exitcode)
int exitcode;

Description

The pioexit subroutine should be used by printer formatters to exit either when formatting is complete or an error has been detected. This subroutine is supplied by the formatter driver.

The pioexit subroutine has no return values.

Parameters

Item Description
exitcode Specifies whether the formatting operation completed successfully. A value of PIOEXITGOOD indicates that the formatting completed normally. A value of PIOEXITBAD indicates that an error was detected.