[Vollbild]  [Home]

READ

rax3read from a file descriptor8 bit
rbxfda file descriptor16 bit
rcx*bufPointer to a buffercount bytes
rdxcount number of bytes to readsize_t ?

On returnrax
bytes read/errorcode

Zero indicates end of file.

Errorcodec++ nameDescription
4EINTRInterrupted system call
5EIOI/O error
9EBADFBad file number
11EAGAINTry again
14EFAULTBad address
21EISDIRIs a directory
22EINVALInvalid argument

I know something !
Free Web Hosting