FGets(buffer max [handle])¶
Reads a string from the file pointed to by handle and stores it in buffer. If the string’s length is greater than max, only max bytes are read.
This kernel is SCI0 only. For SCI1.1, see
- buffer (string) – A buffer where the string is written.
- max (number) – The maximum number of bytes to read.
- handle (number) – A file handle.
The number of bytes read.