XPRDfread
XPRDfread |
Purpose
Synopsis
long XPRDfread(XPRDfile f,void *buf, long size);
Arguments
f
|
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