On Fri, 3 Aug 2001, [iso-8859-1] vishwanath pargaonkar wrote:
> 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.
you must use NOWAIT, and you must handle the case where
it may fail and return NULL.
>
>
> TIA
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message