Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 11:18:36 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include printf.h src/lib/libc/stdio Makefile.inc xprintf.c xprintf_errno.c xprintf_quote.c xprintf_vis.c
Message-ID:  <43D7CF0C.3040607@elischer.org>
In-Reply-To: <19618.1138216547@critter.freebsd.dk>
References:  <19618.1138216547@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:

>In message <43D7C838.4000202@elischer.org>, Julian Elischer writes:
>  
>
>>Poul-Henning Kamp wrote:
>>    
>>
>
>  
>
>>> FreeBSD src repository
>>>
>>> Modified files:
>>>   include              printf.h 
>>>   lib/libc/stdio       Makefile.inc xprintf.c xprintf_vis.c 
>>> Added files:
>>>   lib/libc/stdio       xprintf_errno.c xprintf_quote.c 
>>> Log:
>>> Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"
>>> 
>>> Add %M{essage} extension which prints an errno value as the
>>> corresponding string if possible or numerically otherwise.
>>>      
>>>
>>Is this compatible with anyone else?
>>    
>>
>
>Not that I know off.  It is an optional extension which you have to
>ask for explicitly, so it is non-intrusive as far as stadnards go.
>
>  
>
>>basically, did this idea come from somewhere? or is it new?
>>    
>>
>
>Extending printf is as old as at least SYSIII.
>
>The specific implementation was written to be compatible with GLIBC.
>  
>

do you mean "not collide with" or "emulate" glibc?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D7CF0C.3040607>