Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: But what about kernel printfs? Message-ID: <7830@brl-smoke.ARPA> Date: 4 May 88 18:07:01 GMT References: <12360@tut.cis.ohio-state.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 Keywords: printf,UNIX,kernel In article <12360@tut.cis.ohio-state.edu> lvc@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 , printf(), etc.