Re: Reading from console



seems you are right. great!
why did i think getc() reacts immediately?!? :/

now i must try i this buffering is done by libc or by system.

thanks

.



Relevant Pages

  • Re: Reading from console
    ... why did i think getcreacts immediately?!? ... now i must try i this buffering is done by libc or by system. ... as it is purely a microsoft extension to ISO compliant C ...
    (alt.lang.asm)
  • Re: simple read char app return wrong value?
    ... so bash can read input meant for us, but we could also read input meant for bash i suppose... ... linux kernel also wants posic compliance so it also implements the same methods. ... the posix functions in libc just immidiately call the linux syscalls. ... A C program that reads a file one character at a time with fgetcis much faster, because of this internal buffering. ...
    (alt.lang.asm)
  • Re: stdin/out redirection in RH9 using pipes
    ... >> not possible (unless you're prepared to change libc and throw ... > the way buffering is set up. ... I guess that would be cleaner than fiddling around with _isatty() ... which I guess the libc people could change with- ...
    (comp.os.linux.development.apps)
  • Re: Some ideas on ETH-oberon & Linux/C relationship
    ... does not support bidirectional buffering ... No provisions exist such that independent libraries can cooperate ... libc is history and should be taken as such. ... Oberon System which is also available for Linux. ...
    (comp.lang.oberon)
  • Re: subprocess.Popen and ordering writes to stdout and stderr
    ... You probably just need to flush stdout and stderr after each write. ... You set them up to go to the same underlying file descriptor, but they still each have independent buffering on top of that. ... libc is probably giving you line buffering when you use os.system. ... When you use subprocess.Popen, the child process gets a pipe (ie, not a pty) for its stdout/err, and libc gives you block buffering instead. ...
    (comp.lang.python)