Xref: utzoo comp.unix.questions:31804 comp.lang.c:39725 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.unix.questions,comp.lang.c Subject: Re: Finding/changing max memory size available Message-ID: <753@taumet.com> Date: 30 May 91 17:45:12 GMT References: <24817@unix.SRI.COM> <1991May30.103731.28593@thunder.mcrcim.mcgill.edu> Followup-To: comp.unix.questions Organization: Taumetric Corporation, San Diego Lines: 10 mouse@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@taumet.com