tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: factoring out prop_XXX_pack_pref() and prop_XXX_copyin_pref()

On Wed, 5 Aug 2009, Christoph Badura wrote:

> I'm not sure what to do about the return value.  The prop*{un,}pack*
> forms returned 0 on success and an errno on failure.  The
> prop*externalize* functions return a bool indicating success or failure.

just do the same as the other functions. return true or false and set
errno on failure.


Home | Main Index | Thread Index | Old Index