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 to your header directory list
- Use #include "unixonacid.h"
Linking
- Add /package/prog/skalibs/library (for static linking) or
/package/prog/skalibs/library.so (for dynamic linking)
to your library directory list
- Define a global variable PROG of type char const *
that contains the name of your executable
- Link with -lunixonacid.a -lrandom -lstdcrypto -lstddjb
`cat /package/prog/skalibs/sysdeps/taianow.lib`
- If you're using EGD, also add
`cat /package/prog/skalibs/sysdeps/socket.lib` 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.