When do you #include <stdlib.h>?

Doug Gwyn gwyn at brl-smoke.ARPA
Sun Apr 10 08:56:14 AEST 1988


In article <1035 at mcgill-vision.UUCP> mouse at mcgill-vision.UUCP (der Mouse) writes:
-> If you didn't want to include <stdlib>, you could [have] done the
-> prototype yourself:
-> long atol();
->   or if you are blessed with an ANSI compiler
-> long atol(char *str);
-Unless, of course, what stdlib.h actually says is
-#define atol(s) _builtin_atol(s)

No, there must also be an actual atol() function in the ANSI C library.



More information about the Comp.lang.c mailing list