Scheme interpreter i/o device resource and client
. __Authors:__ Joseph Wayne Norton ([`[email protected]`](mailto:[email protected])).abstract datatype: iodev()
mode_file() = scmi_iodev_server_file:mode()
mode_ram() = scmi_iodev_server_ram:mode()
mode_std() = scmi_iodev_server_std:mode()
close/1 | |
close/2 | |
flush/1 | |
is_ready/1 | |
is_resource/1 | |
is_resource_alive/1 | |
is_resource_alive/2 | |
new/2 | |
notify_when_destroyed/2 | |
notify_when_destroyed/3 | |
open/2 | |
peek/2 | |
read/2 | |
read_all/1 | |
read_line/1 | |
write/2 |
close(IODev::iodev()) -> boolean()
close(IODev::iodev(), Mode::read | write) -> boolean()
flush(IODev::iodev()) -> ok | {error, Reason::term()}
is_ready(IODev::iodev()) -> boolean()
is_resource(Term::term()) -> boolean()
is_resource_alive(Term::term()) -> boolean()
is_resource_alive(Term::term(), Mode::read | write | binary) -> boolean()
new(Pid::pid(), Mod::module()) -> iodev()
notify_when_destroyed(Msg::term(), Iodev::iodev()) -> true
notify_when_destroyed(Pid::pid(), Msg::term(), X3::iodev()) -> true
open(Term::standard_io, Modes::[mode_std()]) -> iodev()
peek(IODev::iodev(), K::non_neg_integer()) -> string() | binary() | eof | {error, Reason::term()}
read(IODev::iodev(), K::non_neg_integer()) -> string() | binary() | eof | {error, Reason::term()}
read_all(IODev::iodev()) -> string() | binary() | eof | {error, Reason::term()}
read_line(IODev::iodev()) -> string() | binary() | eof | {error, Reason::term()}
write(IODev::iodev(), Data::string() | binary()) -> ok | {error, Reason::term()}