marc@mercutio.ultra.com (Marc Kwiatkowski {Host Software-AIX}) (05/24/91)
To answer my own question, sort of, it seems to me that it might be
possible to get around the absence of vsprintf by calling _doprnt
directly. Disassembling the kernel version of _doprnt leads me
to believe that the parameter list is as follows:
int
_doprnt(fmt, ap, ptr)
char *fmt
va_list *ap
char *ptr;
ptr is not a pointer to a FILE handle, but merely the
buffer in which to place the formatted output, thus
it is merely a rearrangment of the sprintf parameter
list. Can anyone comfirm this?
_doprnt is not exported in the standard /lib/kernex.exp export
file, so it is necessary to add it to a homebrewed kernex.exp.
I believe this will work, but I'll find out for sure soon
enough.
--
Marc P. Kwiatkowski Ultra Network Technologies
Internet: marc@ultra.com 101 Daggett Drive
uucp: ...!ames!ultra!marc San Jose, CA 95134 USA
telephone: 408 922 0100 x249