0 | module System.Posix.Poll
2 | import System.Posix.Poll.Prim as P
4 | import public System.Posix.Errno
5 | import public System.Posix.File
6 | import public System.Posix.Poll.Struct
7 | import public System.Posix.Poll.Types
15 | -> {auto has : Has Errno es}
16 | -> {auto eio : EIO1 f}
17 | -> CArrayIO n PollFD
18 | -> (timeout : Int32)
19 | -> f es (List PollPair)
20 | poll arr timeout = elift1 (P.poll arr timeout)
25 | {auto has : Has Errno es}
26 | -> {auto eio : EIO1 f}
28 | -> (timeout : Int32)
29 | -> f es (List PollPair)
30 | pollList pairs timeout = elift1 (P.pollList pairs timeout)