This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/14131] Request for freopencookie function
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 23 May 2012 14:58:00 +0000
- Subject: [Bug stdio/14131] Request for freopencookie function
- Auto-submitted: auto-generated
- References: <bug-14131-131@http.sourceware.org/bugzilla/>
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.