But what about kernel printfs?

Lawrence V. Cipriani lvc at tut.cis.ohio-state.edu
Wed May 4 11:30:18 AEST 1988


The discussion about compilers replacing function
calls with something supposedly equivalent (and better)
got me to wonder about all those UNIX kernel printfs.
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.

Even if one argues that an implementation of the UNIX
kernel is not portable to other machines it should be
at least portable to other compilers for the same cpu.

Is there a better solution?

-- 
Larry Cipriani, AT&T Network Systems and Ohio State University
Domain: lvc at tut.cis.ohio-state.edu
Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (weird but right)



More information about the Comp.lang.c mailing list