libnostd is a collection of both cross-platform compatibility routines and macros, and common macros and routines used in general-purpose C programming.
For example, one compatibility issue addressed are the < sys/time.h > timer macros and gettimeofday(2) routine, some or all of which are not available in a WIN32 environment but provided in this library. Similarly, the popular strlcpy(3) and strlcat(3) routines are provided.
As a general rule, libnostd only contains interfaces which have a long history in the generally available body of C code. A de jure or de facto standard counts strongly (e.g. WinSock or ISO C99 routines).
Most interfaces--setproctitle() the exception--are provided in headers files using macros and static inline function definitions. No extra compilation steps are required to make use of the library; simply add the appropriate include paths. In general, compatability is provided transparently. For instance, for strlcpy() simply #include < string.h >, as-if on any modern BSD environment.
Some of the interfaces provided:
* setproctitle()
* arc4random()
* arc4random_buf()
* strlcpy()
* strlcat()
* err.h
* sys/param.h
* sys/queue.h
* sys/tree.h
* sys/time.h
* stdatomic.h
* strdupa()
* strndupa()
* strnlen()
Product's homepage
What's New in This Release: [ read full changelog ]
· setproctitle has been patched to silence -Wstrict-prototypes and -Wredundant-decls warnings.