summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prf.c
AgeCommit message (Collapse)Author
1997-11-04import torek's vfprintf() from libc [renamed to kprintf and allchuck
floating point stuff removed]. the new kprintf replaces the 3 different (and buggy) versions of printf that were in the kernel before (kprintf, sprintf, and db_printf), thus reducing duplicated code by 2/3's. this fixes (or adds) several printf formats. XXX: new kprintf still supports several non-standard '%' formats: %: - passes an additional format string and argument list recursively %b - used to decode error registers %r - int, but print in radix "db_radix" [DDB only] %z - 'signed hex' [DDB only] %n - unsigned int, but print in radix "db_radix" [DDB only] note that DDB's "%n" conflicts with standard "%n" which takes the number of characters written so far and stores it into the integer indicated by the "int *" pointer arg. yuck! while here, add comments for each function explaining what it is supposed to do.
1997-10-01added 'q' modifier (64-bit integers) in kernel vsprintf/kprintfAngelos D. Keromytis
1996-12-06-Wcast-qual cleanupNiklas Hallqvist
1996-11-29back out bitmask_snprintf()kstailey
1996-11-24Commented out a def, only referenced in out-commented codeNiklas Hallqvist
1996-11-24added bitmap_snprintfkstailey
1996-10-19__assert added, impl from netbsd, however put elsewhere. use it insteadNiklas Hallqvist
of private versions (one even using the userland header) in if_sn.c
1996-07-28fix vsnprintf return valTheo de Raadt
1996-07-23make printf/addlog return 0, for compat to userlandTheo de Raadt
1996-07-19Fixed NetBSD pr #2633 (douzzer@mit.edu)--Be slightly more reasonabledm
about something like printf ("bogus format %l");
1996-07-02-Wall & -Wstrict-prototype fixesNiklas Hallqvist
1996-06-26expand %d is panicstrdm
1996-05-02sync syscalls, no sys/cpu.hTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-02-29From NetBSD: Merge with NetBSD 960217Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt