Guardian Procedure Calls Reference Manual

Syntax for C Programmers
#include <cextdecs(FILE_WRITEREAD_)>
short FILE_WRITEREAD_ ( short filenum
,char _far *write-buffer
,char _far *read-buffer
,__int32_t write-count
,__int32_t read-count
,[ __int32_t _far *count-read ]
,[ __int32_t tag ] );
#include <cextdecs(FILE_WRITEREAD64_)>
short FILE_WRITEREAD64_( short filenum
,const char _ptr64 *write-buffer
,[ char _ptr64 *read-buffer ]
,__int32_t write-count
,__int32_t read-count
,[ __int32_t _ptr64 *count-read ]
,[ long long tag ] );
Syntax for TAL Programmers
error := FILE_WRITEREAD_ ( filenum ! i
,write-buffer ! i
,read-buffer ! o
,write-count ! i
,read-count ! i
,[ count-read ] ! o
,[ tag ] ); ! i
?SETTOG _64BIT_CALLS
?SOURCE EXTDECS(FILE_WRITEREAD64_)
error := FILE_WRITEREAD64_ ( filenum ! i
,write-buffer ! i
,[ read-buffer ] ! o
,write-count ! i
,read-count ! i
,[ count-read ] ! o
,[ tag ] ); ! i
Parameters
filenum
input
INT:value
is the number of an open file that identifies the file where the WRITE/READ is to occur.
write-buffer
input
(for FILE_WRITEREAD_)STRING .EXT:ref:*
(for FILE_WRITEREAD64_)STRING .EXT64:ref:*
is an array that contains the information to be written to the file.
532 Guardian Procedure Calls (F)