Subject: Re: randomid(3)
To: None <itojun@itojun.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 09/11/2003 11:51:54
hi,

> 	here's randomid(3) code i propose to integrate into libc.
> 	first we'll use this from:
> 	- lib/libc/net (DNS query ID)
> 	- lib/libc/rpc (RPC XID)
> 	then maybe more places.  comments are welcome.

you should check malloc failure.

btw, isn't it better to have callers supply storage for randomid_ctx
rather than doing malloc, esp. for libc internal uses?

YAMAMOTO Takashi