[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

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

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.

Related Information

Understanding Embedded References in Printer Attribute Strings in AIX Kernel Extensions and Device Support Programming Concepts.

Adding a New Printer Type to Your System in AIX Kernel Extensions and Device Support Programming Concepts.

Example of Print Formatter in AIX General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Home | Search ]