[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

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

Example of Print Formatter in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]