skalibs
Software
www.skarnet.org
The unixonacid library interface
libunixonacid provides higher-level interfaces to Unix
concepts such as the filesystem - for instance, it provides a way to
access several files atomically, be it for reading or for writing - or
interprocess communication.
Compiling
- Add /package/prog/skalibs/include, or wherever you installed
your header files, to your header directory list
- Use #include "unixonacid.h"
Linking
- For static linking: add /package/prog/skalibs/library,
or wherever you installed your .a files, to your library directory list.
- For dynamic linking: add /package/prog/skalibs/library.so,
or wherever you installed your .so files, to your library directory list -
and make sure to properly edit your ld.so.conf file and to run
ldconfig if needed.
- Link with -lunixonacid.a -lrandom -lstdcrypto -lstddjb
`cat /package/prog/skalibs/sysdeps/taianow.lib` (or wherever you
installed the taianow.lib sysdep file)
- If you're using EGD, also add
`cat /package/prog/skalibs/sysdeps/socket.lib` (or wherever you
installed the socket.lib sysdep file) to your
compiler command line for linking.
Programming
The unixonacid.h header is actually a concatenation of other
headers, every one of each declaring related structures, macros and
functions.