[RFC] signal-safe fprintf?

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Thu Mar 7 12:46:00 GMT 2013


On 7 March 2013 18:09, Rich Felker <dalias@aerifal.cx> wrote:
> This is not a problem for the proposed usage, where the same FILE
> would not be used in both places (one of the FILEs would be a
> temp/dummy one created in snprintf). My only concern is whether
> snprintf and dprintf add their dummy FILE to the global open file
> list, which also involves locking. I seem to remember at least dprintf
> doing this, but I may be mistaken..

Yes, just that even if we come up with such a function, it will only
be useful for this specific use case and nothing else.  I'm not sure
if that is useful enough.


-- 
http://siddhesh.in



More information about the Libc-alpha mailing list