login
Header Space

 
 

Re: [PATCH] eventfd, signalfd, timerfd, epoll_create w/flags

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Davide Libenzi <davidel@...>
Cc: Ulrich Drepper <drepper@...>, Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>
Date: Monday, April 28, 2008 - 3:12 am

On 4/28/08, Davide Libenzi <davidel@xmailserver.org> wrote:

This "p" doesn't follow convention.  The "p" that has appeared on some
syscalls is by analogy with pselect().

pselect() = select() + a sigset parama=ter.

I seem to recall that the "p" is because this was a POSIX invention.

Anyway, the "p" has been added to a number of other Linux syscalls
that have likewise added a sigset:

poll() --> ppoll()
epoll_wait() --> epoll_pwait()
and now: accept() --> paccept()

Adding a "p" to the name epoll_create() would be a mistake by this convention.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] eventfd, signalfd, timerfd, epoll_create w/flags, Ulrich Drepper, (Sun Apr 27, 6:17 pm)
Re: [PATCH] eventfd, signalfd, timerfd, epoll_create w/flags, Michael Kerrisk, (Mon Apr 28, 3:12 am)
speck-geostationary