Compiling – HP XP20000XP24000 Disk Array User Manual
Page 184

6-30
Performing File Access Library (FAL) Operations
Hitachi USP V Cross-OS File Exchange User’s Guide
global
g_error
datasetHandle
Return value: datasetError
-1
void (see Note 1)
long (see Note 1)
DATSET_HANDLE
long
Global memory area
An error information stored area
Dataset handler
Abnormal end
This function declares the end of the process, and gets dataset attribute
information using dataset_FindFirstFile and dataset_FindNextFile.
•
Argument (3):
–
global: Global memory area (Specify a Global memory area gotten by
dataset_AllocGlobal.).
–
g_error: Specify an address to store FAL error code.
–
datasetHandle: Specify dataset handler.
•
Return Value (3):
–
When this function ends normally, “0” is returned.
–
When this function ends abnormally, “- 1” is returned.
–
When “- 1” is returned, refer to the content of g_error and for error code
details. For further information, see Appendix B.