package kqueue

  1. Overview
  2. Docs

Module Kqueue.Event_listSource

Sourcetype t

Kqueue.Event_list.t represents a list of kevents that can be used to populate either the changelist or the eventlist for the kevent syscall. The intended usage is to allocate a list of events using create, and then retrieve events at a particular index using get idx, and then using the Kqueue.Event_list.Event module to read/write the varios fields that belong to a kevent.

Sourceval null : t
Sourceval create : int -> t
Sourcemodule Event : sig ... end
Sourceval get : t -> int -> Event.t