posish
provides safe wrappers to POSIX-ish libc
APIs.
posish
is focused on functionality that isn't already provided by std
or getrandom
. It has a philosophy of considering raw file descriptors to be
equivalent to pointers in terms of making APIs unsafe, in the spirit of
std::os::unix::io::FromRawFd::from_raw_fd
being unsafe.
posish
is relatively low-level and does not support Windows; for higher-level
and portable APIs to this functionality, see the system-interface
and
cap-std
crates.