Why is sprintf ifdef-ed out of <stdio.h>?
Bob Weissman
bob at omni.com
Fri Jul 21 06:28:40 AEST 1989
/usr/include/stdio.h has the declaration of sprintf() ifdef-ed out:
/* @(#)stdio.h 1.12 88/02/07 SMI; from UCB 1.4 06/30/83 */
...
#ifdef vax
char *sprintf(); /* too painful to do right */
#endif
Why is this? It implies programs which use it have to declare it
themselves.
And what is so painful about the ifdef-ed out declaration, anyway?
Bob Weissman
Domainish: bob at omni.com
UUCPish: ...!{amdahl,apple,pyramid,sgi,tekbspa,uunet}!koosh!bob
More information about the Comp.sys.sun
mailing list