On Tue, Nov 09, 2010 at 11:17:01PM +0800, Simon Liu <[email protected]>
wrote:
> Hi marc, I read libev's code , I found EV_INOTIFY_BUFSIZE's define
>
> /* the * 2 is to allow for alignment padding, which for some reason is >> 8
> */
> # define EV_INOTIFY_BUFSIZE (sizeof (struct inotify_event) * 2 + NAME_MAX)
>
> therefor my problem is why need *2(your comment make me doubt).
Hmm, what's unclear/what is your doubt?
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev