From owner-freebsd-hackers Fri Aug 3 2: 2:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id 09C4437B403 for ; Fri, 3 Aug 2001 02:02:53 -0700 (PDT) (envelope-from vel@bugz.infotecs.ru) Received: (from root@localhost) by bugz.infotecs.ru (8.11.1/8.11.1) id f739J6t03377; Fri, 3 Aug 2001 13:19:06 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200108030919.f739J6t03377@bugz.infotecs.ru> Subject: Re: malloc In-Reply-To: <20010803082921.4234.qmail@web5304.mail.yahoo.com> "from vishwanath pargaonkar at Aug 3, 2001 09:29:21 am" To: vishwanath pargaonkar Date: Fri, 3 Aug 2001 13:19:06 +0400 (MSD) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > can anybody tell me in malloc what does third > parameter > DONTWAIT ,NOWAIT and WAITOK mean? > Bcoz i have function being called using timeout.in > that function i need to malloc a buffer. > can i use WAITOK? > please tell me abt this. I think MALLOC(9) explains this pretty well. Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message