This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/14131] Request for freopencookie function


http://sourceware.org/bugzilla/show_bug.cgi?id=14131

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2012-05-23 14:58:00 UTC ---
I question the value of adding further non-portable, glibc-specific interfaces
to do something you can already do non-portably with glibc. It would be trivial
to do this in a portable way with pipe, dup, dup2, and pthread_create. (dup
original fd, create pipe, dup2 write end of the pipe onto original fd, create
thread that reads from read end of pipe, transforms output format, and writes
to original fd).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]