Tries to read at most count bytes at the current offset of the file.
If currentofset+count<=filesize this method will satisfy the request and read count bytes, otherwise it will return just the bytes available (this is the only way to discover the EOF condition).
You can see how to read data here.
Returns the data.
|fd||int the file descriptor, from which data is read|
|count||int count in bytes, which to be read from the descriptor|
|1000||Log in required.|
|1007||Invalid or closed file descriptor.|
|1011||Please provide 'count'.|
|2000||Log in failed.|
|4000||Too many login tries from this IP address.|
|5004||Read error. Try reopening the file.|