Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!csource!david From: david@csource.oz.au (david nugent) Newsgroups: comp.unix.sysv386 Subject: Re: Looking for kernel routine similar to sprintf(). ISC 1.0.6 Message-ID: <743@csource.oz.au> Date: 14 Sep 90 10:24:49 GMT References: <1990Sep07.162127.9827@unx.sas.com> Reply-To: david@csource.oz.au Organization: Unique Computing Pty Ltd, Melb, Aust. Lines: 29 > I'm working on a device driver, and had a use for the sprintf() > function which I promptly found out doesn't exist in the kernel, and > is just a munged call to printf anyways... A coworker mentioned using > the function ksprintf(), but I couldn't find it either. So, > hence my question. > Does Interactive Unix, Version 1.0.6 have an internal function > that does the same as sprintf()? Never ran ISC 1.0.6, but "nm -p /unix | grep printf" on 2.2.0 comes up with: 3490159168 T printf 3490161496 T errprintf 3490161532 T dri_printf 3490316160 D ipprintfs 3490319756 D tcpprintfs So it appears that the current kernel does include it. You might do something similar with yours to see what it reveals. david -- Fidonet: 3:632/348 SIGnet: 28:4100/1 Imex: 90:833/387 Data: +61-3-885-7864 Voice: +61-3-826-6711 Internet/ACSnet: david@csource.oz.au Uucp: ..!uunet!munnari!csource!david