tech-userlevel archive

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

Re: eventfd(2) and timerfd(2) APIs

> On Sep 18, 2021, at 5:51 PM, Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
>  | You'll get EBADF if you try it on anything else
> and that's definitely wrong, on a pipe the system is allowed to return EINVAL,
> and that's what ought to be returned whenever the fd is not something that
> supports chmod (etc).   EBADF should only be used when the process doesn't
> have the fd open.

Oops, I may be wrong about that specific detail.  I’ll double-check later.

-- thorpej

Home | Main Index | Thread Index | Old Index