5428 provide fts(), reallocarray(), and strtonum()

Review Request #398 — Created March 11, 2017 and submitted — Latest diff uploaded

yuripv
illumos-gate
master
5428
5fda943...
general

Provide several bsd compat functions and header:
- sys/cdefs.h: for now only containing __BEGIN_DECLS and __END_DECLS -- dropped for the moment
- fts family: similar to ftw(3C), but a bit more sophisticated
- reallocarray(): similar to realloc(3C), but working on arrays
- strtonum(): a safer alternative to atoi(3C) and strtol(3C) families

for the moment:
- build
- new mandoc version

Loading...