prelude: :gerbil/compiler/ssxi
package: std/os

(begin
  (declare-type std/os/kqueue#kqueue (@lambda 0 #f))
  (declare-type std/os/kqueue#kqueue-close (@lambda 1 close-port))
  (declare-type std/os/kqueue#make-kevents (@lambda 1 #f))
  (declare-type std/os/kqueue#kevent-set!__% (@lambda 9 #f))
  (declare-type
   std/os/kqueue#kevent-set!__@
   (@kw-lambda-dispatch
    (ident: filter: flags: filter-flags: data: user-data:)
    std/os/kqueue#kevent-set!__%))
  (declare-type
   std/os/kqueue#kevent-set!
   (@kw-lambda
    (filter: data: filter-flags: flags: ident: user-data:)
    std/os/kqueue#kevent-set!__@))
  (declare-type std/os/kqueue#kevent (@lambda 5 #f))
  (declare-type std/os/kqueue#kqueue-poll (@lambda 3 #f))
  (declare-type std/os/kqueue#kqueue-kevent-add__% (@lambda 6 #f))
  (declare-type std/os/kqueue#kqueue-kevent-add__0 (@lambda 3 #f))
  (declare-type std/os/kqueue#kqueue-kevent-add__1 (@lambda 4 #f))
  (declare-type std/os/kqueue#kqueue-kevent-add__2 (@lambda 5 #f))
  (declare-type
   std/os/kqueue#kqueue-kevent-add
   (@case-lambda
    (3 std/os/kqueue#kqueue-kevent-add__0)
    (4 std/os/kqueue#kqueue-kevent-add__1)
    (5 std/os/kqueue#kqueue-kevent-add__2)
    (6 std/os/kqueue#kqueue-kevent-add__%)))
  (declare-type std/os/kqueue#kqueue-kevent-del (@lambda 3 #f))
  (declare-type std/os/kqueue#kqueue-kevent-disable (@lambda 3 #f))
  (declare-type std/os/kqueue#get-kevent-ptr (@lambda 0 #f))
  (declare-type std/os/kqueue#make-timespec (@lambda 2 #f)))
