Go to file
chuck 94fa91f862 import chris torek's vfprintf() from libc [renamed to kprintf and all
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.  examples:
 %#x   - previously only supported by db_printf [not printf/sprintf]
 %8.8s - printf would print "000chuck" for "chuck" before
 %5p   - printf would print "0x    1" for value 1 before

XXX: new kprintf still supports several non-standard '%' formats that
are supposed to eventually be removed:
  %: - 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-24 18:14:25 +00:00
bin add dependancies to fix parallel compilation 1997-10-22 01:36:36 +00:00
distrib Add X11R6.3 ELF shared libraries. 1997-10-23 23:47:07 +00:00
etc fix typeo in prev commit 1997-10-23 22:53:30 +00:00
games Initialize pointers to NULL to avoid gcc/sparc compiler error 1997-10-23 07:05:55 +00:00
gnu use CPPFLAGS instead of CFLAGS 1997-10-23 22:50:34 +00:00
include Update for new function renaming nechanism. 1997-10-22 06:59:35 +00:00
lib Get it compiling again in the WARNS=1 environment. 1997-10-24 06:26:39 +00:00
libexec Install our ELF-aware link.h into /usr/include on mips hosts. 1997-10-23 19:27:28 +00:00
regress Remove bogus regress targets. 1997-10-11 22:57:29 +00:00
sbin oops; forgot to update the license here. 1997-10-23 03:00:12 +00:00
share backout CPPFLAGS; this is a sample standalone makefile 1997-10-23 23:16:04 +00:00
sys import chris torek's vfprintf() from libc [renamed to kprintf and all 1997-10-24 18:14:25 +00:00
usr.bin Cleanup warnings when -DKERBEROS 1997-10-24 14:44:35 +00:00
usr.sbin Make this compile again on NetBSD/alpha; cast off_t variable to long long 1997-10-24 03:12:06 +00:00
Makefile Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00