public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* epoll_ctl and const correctness
@ 2009-03-25 12:45 nicolas sitbon
  2009-03-25 16:23 ` Davide Libenzi
  2009-03-25 21:21 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 17+ messages in thread
From: nicolas sitbon @ 2009-03-25 12:45 UTC (permalink / raw)
  To: linux-kernel

Currently, the prototype of epoll_ctl is :

int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event);

I searched in the man of epoll_ctl and google, and it seems that the
structure pointed to by event isn't modify, valgrind confirms this
behaviour, so am I wrong? or the good prototype is

int epoll_ctl(int epfd, int op, int fd, struct epoll_event const *event);

Thanks by advance!

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-03-27 23:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 12:45 epoll_ctl and const correctness nicolas sitbon
2009-03-25 16:23 ` Davide Libenzi
2009-03-25 17:27   ` nicolas sitbon
2009-03-27 19:43   ` nicolas sitbon
2009-03-25 21:21 ` Jeremy Fitzhardinge
2009-03-25 21:37   ` nicolas sitbon
2009-03-27  9:44     ` nicolas sitbon
2009-03-27 21:47       ` Michael Tokarev
2009-03-27 22:17         ` nicolas sitbon
2009-03-27 22:30           ` nicolas sitbon
2009-03-27 22:40             ` Davide Libenzi
2009-03-27 22:42             ` Michael Tokarev
2009-03-27 22:55               ` nicolas sitbon
2009-03-27 23:01                 ` Michael Tokarev
2009-03-27 23:10                   ` nicolas sitbon
2009-03-27 23:16                     ` Michael Tokarev
2009-03-27 23:25                       ` nicolas sitbon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox