Guardian Procedure Calls Reference Manual
Syntax for C Programmers
#include <cextdecs(FILE_WRITEUPDATE64_)>
short FILE_WRITEUPDATE64_ ( short filenum
,const char _ptr64 *buffer
,__int32_t write-count
,[ __int32_t _ptr64 *count-written ]
,[ long long tag ] );
Syntax for TAL Programmers
?SETTOG _64BIT_CALLS
?SOURCE EXTDECS(FILE_WRITEUPDATE64_)
error := FILE_WRITEUPDATE64_ ( filenum ! i
,buffer ! i
,write-count ! i
,[ count-written ] ! o
,[ tag ] ); ! i
Parameters
filenum
input
INT:value
is a number of an open file that identifies the file to be written.
buffer
input
STRING .EXT64:ref:*
is an array that contains the data to be written to the file.
write-count
input
INT(32):value
is the number of bytes to be written to the file:
for disk files (see Disk File Considerations (page 540)){0:4096}
for magnetic tapes{0:32767}
For key-sequenced and relative files, 0 deletes the record.
For entry-sequenced files, 0 is invalid (error 21).
count-written
output
INT(32) .EXT64:ref:1
for wait I/O only, returns an integer indicating the number of bytes written to the file.
tag
input
INT(64):value
for nowait I/O only, is a value you define that uniquely identifies the operation associated
with this FILE_WRITEUPDATE64_ procedure.
FILE_WRITEUPDATE64_ Procedure 537