Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (s and S) spt_FileIOHandler_p(2)
NAME
spt_FileIOHandler_p - Executes callback type required by spt_regFileIOHandler( )
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
typedef void (*spt_FileIOHandler_p)(const short
filenum,
const long tag, const long count_transferred,
const long error, void *userdata);
PARAMETERS
filenum Specifies Guardian file number whose IO has completed
tag Specifies tag of completed IO
count_transferred
Specifies transfer count of completed IO
error Specifies Guardian error number for completed IO
userdata Specifies address of user data area; set when the application called the
spt_awaitio() function
DESCRIPTION
Callback type required by the spt_regFileIOHandler() function. The callback is executed in the
context of the last running thread; it executes on the stack of the last running thread.
RETURN VALUES
None.
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.
527186-003 Hewlett-Packard Company 7−95