watching for new files: libevent vs. libev

Jann Horn jann+libev at
Thu Apr 4 21:40:10 CEST 2013

On Thu, Apr 04, 2013 at 01:04:35PM -0400, Mikhail T. wrote:
> Hello!
> By adding EV_ET to the flags, I can watch a directory for changes --
> such as files being added or removed to it -- using libevent (at least,
> on FreeBSD). Sample program attached.
> Does libev provide a similar functionality? Some mailing list archives
> suggest, edge-triggered events aren't supported by libev (for
> portability?), but those pages are from 2010. Have there been
> improvements since, perhaps?

Have a look at the documentation:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the libev mailing list