But what about kernel printfs?

Doug Gwyn gwyn at brl-smoke.ARPA
Thu May 5 04:07:01 AEST 1988


In article <12360 at tut.cis.ohio-state.edu> lvc at tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes:
>I guess the most portable thing to do would be to replace
>all the printfs (and other routines in the UNIX kernel)
>that clash with the C library with kprintf kexit etc.

One would think that the UNIX kernel would be compiled in what X3J11 has
termed a "freestanding" environment, not a "hosted" environment.  The
freestanding environment does not include <stdio.h>, printf(), etc.



More information about the Comp.lang.c mailing list