Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 22:49:04 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Anish A Patankar <patankar@cse.Buffalo.EDU>
Cc:        Mike Smith <msmith@freebsd.org>, questions@freebsd.org
Subject:   Re: MALLOC 
Message-ID:  <200103260649.f2Q6n5600937@mass.dis.org>
In-Reply-To: Your message of "Sun, 25 Mar 2001 15:59:55 EST." <Pine.SOL.4.30.0103251557200.16656-100000@pollux.cse.Buffalo.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi, thanks for the prompt reply.
> I think I cannot use malloc and free as I am programming in the kernel, so
> have to use MALLOC and FREE.The man page shows..

No, I just told you that MALLOC and FREE are deprecated, and you should 
use malloc and free.  I meant it. 8)

> But then it goes on to describe the MWAIT and other such flags..
> I mean i cannot make out the no. of arguments to be passed to MALLOC..and
> what would they stand for..

Do you have any problems with understanding the arguments to malloc and 
free?  We can help you there if you need it.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103260649.f2Q6n5600937>