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 =     152 (&98)
     R1 =     buffer number

<=     R0, R1 preserved
     R2 =     next byte in buffer, corrupted if buffer empty
     C flag     set if buffer is empty, otherwise clear

This call checks whether a given buffer is empty, and if a byte is available returns it without removing it from the buffer. The buffer number is not validated - undefined results (rather than an error) occur if a bad buffer number is passed.

See PRM 1, page 171

[sh-index] Back to list of manuals