Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (s and S) spt_regFile(2)
NAME
spt_regFile - Registers the le 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 lenum);
PARAMETERS
filenum Species the Guardian le number of the le being registered
DESCRIPTION
Registers the le 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 specication. 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 le spthread.h is an HP exception to the POSIX standard.
527186-003 Hewlett-Packard Company 7129