aboutsummaryrefslogtreecommitdiff
path: root/src/core/strs.h
Commit message (Collapse)AuthorAge
* Add nni_strnlen.Garrett D'Amore2017-08-28
| | | | More string safety for stuff coming from externals.
* Introduce utility safe string handling functions.Garrett D'Amore2017-08-28
We have our versions of strdup, strlcat, and strlcpy. This means we can avoid using snprintf() in many cases (saving cycles), and we can get safer checks. We use the platform supplied versions of these if they exist (wrapping with nni_xxx versions.)