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 =     ESocket handle
     R1 =     pointer to buffer
     R2 =     length of buffer, or -ve to read size needed
     R3 =     flags
<=     R1 =     pointer to buffer, or 0 if nothing was read
     R2 =     length read or available

This SWI reads a line of text.
ESocket_ReadLine flags
Bit     Meaning

0-1     Terminator to use :
      0     CR LF
      1     LF
      2     CR
      3     either CR or LF
2     String should be terminated by 13, not 0
3     String should be pre-processed for deletes
other     reserved, must be 0

[sh-index] Back to list of manuals