View | Details | Raw Unified | Return to bug 169773 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/libedit/editline.3 (-2 / +7 lines)
Lines 174-180 and must be copied if the data is to be retained. Link Here
174
Read a character from the tty.
174
Read a character from the tty.
175
.Fa ch
175
.Fa ch
176
is modified to contain the character read.
176
is modified to contain the character read.
177
Returns the number of characters read if successful, \-1 otherwise.
177
Returns the number of characters read if successful, \-1 otherwise,
178
in which case
179
.Dv errno
180
is set.
178
.It Fn el_push
181
.It Fn el_push
179
Pushes
182
Pushes
180
.Fa str
183
.Fa str
Lines 397-403 will return immediately after processing a single character. Link Here
397
Define the character reading function as
400
Define the character reading function as
398
.Fa f ,
401
.Fa f ,
399
which is to return the number of characters read and store them in
402
which is to return the number of characters read and store them in
400
.Fa c .
403
.Fa c ,
404
and -1 on failure with errno set to the failure.
401
This function is called internally by
405
This function is called internally by
402
.Fn el_gets
406
.Fn el_gets
403
and
407
and
Lines 788-793 is a NUL terminated string to tokenize. Link Here
788
.\"XXX: provide some examples
792
.\"XXX: provide some examples
789
.Sh SEE ALSO
793
.Sh SEE ALSO
790
.Xr sh 1 ,
794
.Xr sh 1 ,
795
.Xr intro 2 ,
791
.Xr signal 3 ,
796
.Xr signal 3 ,
792
.Xr termcap 3 ,
797
.Xr termcap 3 ,
793
.Xr editrc 5 ,
798
.Xr editrc 5 ,

Return to bug 169773