Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
spt_regFile(2) OSS System Calls Reference Manual
NAME
spt_regFile - Registers the file number
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
spt_error_t spt_regFile(
const short filenum);
PARAMETERS
filenum Specifies the Guardian file number of the file being registered
DESCRIPTION
Registers the file number as one that the user will manage through the default callback.
RETURN VALUES
See the spt_regFileIOHandler(2) reference page.
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification. Interfaces documented on this
reference page conform to the following industry standards:
• IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
7−380 Hewlett-Packard Company 527186-023