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