bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controlling stdio buffering


From: Paul Eggert
Subject: Re: controlling stdio buffering
Date: Wed, 22 Mar 2006 11:58:54 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

If this is merely for debugging, can't you write a wrapper that forces
line buffering for a program?  The wrapper could substitute your own C
library functions via LD_PRELOAD, or could run the program inside a
pseudotty a la 'expect'.

If it's for production use then I'm not sure it's a good idea to slow
down and complicate standard libraries and/or apps for a
fairly-specialized need.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]