View Source inert_drv (inert v1.0.5)

Link to this section Summary

Link to this section Types

-type command() :: fdset | fdclr.
-type errno() :: {error, ebadf | einval | closed}.
-type mode() :: read | write | read_write.
-type ref() :: port() | atom().

Link to this section Functions

-spec ctl(Port :: ref(), Op :: command() | non_neg_integer(), Data :: iodata()) -> ok | errno().