This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: formats and syslog question


On Fri, Sep 13, 2002 at 11:24:15AM -0400, Daniel Jacobowitz wrote:
> Well, if you have an idea on a syntax for more extensible format
> checking, as Joseph mentioned above, it'd be much nicer if you want
> down that path.  For instance, Linux's printk() would very much like to
> have format checking, but it can't at the moment because it has some
> custom specifiers.

Sorry, no idea for a non-icky syntax yet.
On the other hand, I consider syslog() to be much more useful than printk,
as syslog is universal among unix systems, whereas printk is limited to
one single variant.  Maybe Jason R. Thorpe will have further ideas, as
I know that NetBSD has a custom version of the printf format for their
kernel printf ?


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