Initializing help system before first use

XPRDfread

XPRDfread


Purpose
Read a block of data from a remote file.
Synopsis
long XPRDfread(XPRDfile f,void *buf, long size);
Arguments
File descriptor
buf 
Buffer to return the data
size 
Size of buffer buf
Return value
0 in case of end of file; the number of bytes read or a negative value in case of error.
Further information
The amount of data read may be smaller than the amount requested: this is not an error.
Related topics