Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15392
| From | Aust zhu <austzhu119@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Some questions about the use of readline() |
| Date | 2019-09-21 23:23 +0800 |
| Message-ID | <mailman.734.1569079940.2190.bug-bash@gnu.org> (permalink) |
| References | <CACDGAZVP+7KthNJHBDHOaxfaZnXT2h70+1Yzm3zfNGQC9T47sA@mail.gmail.com> |
Hello!
I am having some problems with readline(). When calling the readline()
function it is blocked. I want to set a timeout for the readline function
to return.
I tried setting rl_done=1, and fprintf(rl_instream,"\r\n");
fflush(rl_instream); can't make the readline() function return. What should
I do to make the readline() function return?
I am using libreadline-8.0
Thank you!
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Some questions about the use of readline() Aust zhu <austzhu119@gmail.com> - 2019-09-21 23:23 +0800
csiph-web