Uni#

Memory/thread safe and ergonomic wrappers around standard Unix C functions and structs.

Info

To use declarations from this module, include the <essence/uni.hpp> header.

dirent

Easy wrapper for scandir.

Uni/Dirent
fnmatch

The fnmatch function, for testing shell glob patterns against filenames

Uni/Fnmatch
group

The Unix group struct, with some extra quality-of-life added.

Uni/Group
passwd

The Unix passwd struct, with some quality-of-life added.

Uni/Passwd
signal

An interface for easy signal handling and setup, using function objects as handlers.

Uni/Signal
stat

Thoroughly written interface to stat and lstat.

Uni/Stat
strerror

Easy wrapper around the thread-safe (reentrant) variant of strerror, as well as an exception class leveraging it.

Uni/Strerror
syslog

Singleton interface for interacting with syslog.

Uni/Syslog
term

Clean abstraction over the termios struct, with easy restoration of original settings.

Uni/Term
unistd

Various managed and thread-safe (where applicable) wrappers for <unistd.h> functions.

Uni/Unistd