This is the mail archive of the libc-alpha@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]

Re: [RFC] signal-safe fprintf?


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


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