Transact
Transact_GetDataFileLength
(SWI &4FC10)
This SWI which appears in the v0.2.2 release of the Transact engine allows a client application to know wether a datafile is currently handled by the Transact Engine and, if yes, know the length of the file as known to the current session.
On entry
- R0 = External session ID as returned by
Transact_CreateSession
;
- R1 = Data file's external ID (
NULL
or pointer to the pathname of the file);
- R2 = Pointer to internal ID for the file to be accessed;
On exit
- R0 = Size of file if already opened by the Transact Engine;
- R1 = 0 if the Transact engine has'nt opened the data file yet, 1 otherwise.
Possible errors
- &812B00 Busy (not yet implemented in this release)
- &812B00 Busy (not yet implemented in this release)
- &812B03 Invalid parameters
- &812B01 Unknown session