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

System Functions (s and S) spt_unregFile(2)
NAME
spt_unregFile - Unregisters a Guardian le number as one that the user manages
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
extern spt_error_t spt_unregFile(
const short lenum);
PARAMETERS
filenum Species the Guardian le number being unregistered
DESCRIPTION
This function unregisters a Guardian le number as one that the user manages. Any threads wait-
ing on le number I/O will awaken with SPT_ERROR and Guardian le-system error 16.
RETURN VALUES
SPT_SUCCESS
The specied lenum was successfully unregistered.
SPT_ERROR One of the following conditions exists:
The value specied for lenum s less than 0 (zero)
The specied lenum was not registered prior to this call
The FILE_COMPLETE_SET_ procedure removal of
lenum returned a nonzero value.
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 7149