How to predict size of outcome of vsprintf?
Karl Heuer
karl at haddock.ima.isc.com
Thu Mar 23 11:58:44 AEST 1989
In <1989Mar21.183741.1089 at utzoo.uucp> henry at utzoo (Henry Spencer) writes:
>In <9979 at bloom-beacon.MIT.EDU> scs at adam.pika.mit.edu (Steve Summit) writes:
>>My own soon-to-be-released stdio replacement contains
>> char *smprintf(char *fmt, ...)
>
>I would urge changing the name, perhaps to msprintf, to avoid a name that
>looks very similar to snprintf at first glance.
But `msprintf' has the flaw that the va_list version would be named
`vmsprintf', which suggests that it has something to do with a certain
obscure operating system. I think I'd go with `mprintf'.
Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint
More information about the Comp.unix.wizards
mailing list