5428 provide fts(), reallocarray(), and strtonum()
Review Request #398 — Created March 11, 2017 and submitted — Latest diff uploaded
Information | |
---|---|
yuripv | |
illumos-gate | |
master | |
5428 | |
5fda943... | |
Reviewers | |
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