Linux GPIO support

Marc Lehmann schmorp at
Thu Sep 3 16:06:22 CEST 2020

On Sat, Aug 15, 2020 at 04:45:19AM +0000, Anandu Suri <a11i_clptr2iu at> wrote:
> Hello Marc,

Hi, and sorry for the delay.

> Not sure if this is a design decision or buggy design. But given that Linux is

It's a design bug. In any case, libev is not a linux-only library, and doe
snot attempt to implement linux-only behaviour that is at odds with portable

You can poll for POLLPRI events using libev by using epoll and watching
the epoll file descriptor - while epoll is effectively a linux-only
function, that is fine, as it seems only to be required on linux.

There is little point in bloating libev with functionality that is a)
already supported with a bit of extra work and b) is only useful for

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list