summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-12-19 13:48:28 +0100
committerAlejandro Colomar <alx@kernel.org>2023-12-19 14:08:14 +0100
commit13dedafc71925d73ef83d0848271bd5e77f6b14b (patch)
tree40fb01541755dcea0767ca8de0e8187a69352e9e /.gitignore
parent3630425f826c7334592c7d1f2527082cfe43f79d (diff)
downloadunit-13dedafc71925d73ef83d0848271bd5e77f6b14b.tar.gz
unit-13dedafc71925d73ef83d0848271bd5e77f6b14b.tar.bz2
String: added nxt_strtoul_noneg().
This function is like strtoul(3), but it rejects negative numbers, instead of silently converting them into unsigned, which strtoul(3) does. Link: <https://blog.habets.se/2022/10/No-way-to-parse-integers-in-C.html> Link: <https://softwareengineering.stackexchange.com/a/449060/332848> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions