| Date | Sun, 15 Sep 2019 11:43:06 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v2] printf: add support for printing symbolic error codes |
| |
On Mon 2019-09-09 22:38:25, Rasmus Villemoes wrote: > It has been suggested several times to extend vsnprintf() to be able > to convert the numeric value of ENOSPC to print "ENOSPC". This is yet > another attempt. Rather than adding another %p extension, simply teach > plain %p to convert ERR_PTRs. While the primary use case is
For the record, I hate manually decoding errors, so I like this patch.
Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
|