Looking for kernel routine similar to sprintf(). ISC 1.0.6

david nugent david at csource.oz.au
Fri Sep 14 20:24:49 AEST 1990


>    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 at csource.oz.au    Uucp: ..!uunet!munnari!csource!david



More information about the Comp.unix.sysv386 mailing list