Messages in this thread | | | Date | Wed, 4 Feb 2009 16:02:45 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: [patch/rfc] eventfd semaphore-like behavior |
| |
On Thu, 5 Feb 2009, Michael Kerrisk wrote:
> > Dunno. Probably try the syscall and see if it returned -EINVAL. Does > > that work in this case? > > As youll have seen by now, Ulrich and I noted that it works. > > > If so, it would be sensible to mention this in > > the description somewhere as the approved probing method and to > > maintain it. > > I'll add something to the man page, as this patch progresses.
I see we already have stuff like this inside the man pages:
O_CLOEXEC (Since Linux 2.6.23) Enable the close-on-exec flag for the new file descriptor. ...
Maybe a similar note for the new flag?
- Davide
| |