Subject: Re: randomid(3)
To: None <email@example.com>
From: YAMAMOTO Takashi <firstname.lastname@example.org>
Date: 09/11/2003 11:51:54
> 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?