[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: return value of prop_*_recv_syscall()
On Wed, Sep 28, 2011 at 12:18:31AM +0200, Jean-Yves Migeon wrote:
> On 27.09.2011 12:23, Manuel Bouyer wrote:
> >On Sat, Sep 24, 2011 at 10:35:41PM +0200, Francois Tigeot wrote:
> >>Since DragonFly's proplib implementation comes from NetBSD, I figured it
> >>would be best to ask here what to do:
> >>fix the documentation or fix the implementation ?
> >The documentation. The implementation can't be exactly the same between
> >kernel and userland for this kind of functions, because in kernel we have
> >to return an errno.h value, while in userland the traditionnal way to go
> >it to return a boolean, and get the error number from a global variable
> >if we care.
> FWIW I am currently clarifying this API divergence with Manuel. We
> should have something ready in a day or two. Stay tuned.
OK. I was about to start creating a patch for the manpage; I'll let you
handle this then.
Main Index |
Thread Index |