[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <84a01a8b0903250545n799a8727o1faad60c8eaf372e@mail.gmail.com>
Date: Wed, 25 Mar 2009 13:45:01 +0100
From: nicolas sitbon <nicolas.sitbon@...il.com>
To: linux-kernel@...r.kernel.org
Subject: epoll_ctl and const correctness
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists