Finding/changing max memory size available

Stephen Clamage steve at taumet.com
Fri May 31 03:45:12 AEST 1991


mouse at thunder.mcrcim.mcgill.edu (der Mouse) writes:

>... malloc takes an int or an unsigned int, not a long, as an argument ...

In ANSI C, malloc takes a parameter of type "size_t" (defined by the
implementation) which must be an unsigned integral type; it is typically
"unsigned int" or "unsigned long".
-- 

Steve Clamage, TauMetric Corp, steve at taumet.com



More information about the Comp.unix.questions mailing list