Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: But what about kernel printfs? Message-ID: <12360@tut.cis.ohio-state.edu> Date: 4 May 88 01:30:18 GMT Organization: Ohio State Computer & Info Science Lines: 17 Keywords: printf,UNIX,kernel 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@tut.cis.ohio-state.edu Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (weird but right)