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
lenum,
const long tag, const long count_transferred,
const long error, void *userdata);
PARAMETERS
filenum Species Guardian le number whose IO has completed
tag Species tag of completed IO
count_transferred
Species transfer count of completed IO
error Species Guardian error number for completed IO
userdata Species 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 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 795