AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     10
     R2 =     device driver stream handle
     R3 =     -1
<=     R3 =     0 if not end of data
           -1 if end of data

When DeviceFS is asked if EOF has been reached, it will respond false if a buffered stream still has buffered data, or an unbuffered stream has a non-empty RX/TX word. Otherwise it calls this entry point. Most devices will return -1 (EOF reached) but some (e.g. a scanner) may know that there is still data to come).

See PRM 2, page 604.

[sh-index] Back to list of manuals