mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update lua read() description
This commit is contained in:
parent
a698799a7d
commit
d8fb141bc4
2 changed files with 4 additions and 0 deletions
|
|
@ -348,6 +348,8 @@ read(size, timeout)
|
||||||
|
|
||||||
Returns number of bytes read on success, 0 on timeout, or -1 on error.
|
Returns number of bytes read on success, 0 on timeout, or -1 on error.
|
||||||
|
|
||||||
|
On success, returns read string as second return value.
|
||||||
|
|
||||||
set{line=state, ...}
|
set{line=state, ...}
|
||||||
Set state of one or multiple tty modem lines.
|
Set state of one or multiple tty modem lines.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -457,6 +457,8 @@ until data is ready to read.
|
||||||
|
|
||||||
Returns number of bytes read on success, 0 on timeout, or -1 on error.
|
Returns number of bytes read on success, 0 on timeout, or -1 on error.
|
||||||
|
|
||||||
|
On success, returns read string as second return value.
|
||||||
|
|
||||||
.IP "\fBset{line=state, ...}"
|
.IP "\fBset{line=state, ...}"
|
||||||
Set state of one or multiple tty modem lines.
|
Set state of one or multiple tty modem lines.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue