]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add strnlen2() helper
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 25 Oct 2024 15:04:37 +0000 (17:04 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 28 Oct 2024 13:59:35 +0000 (14:59 +0100)
commit24131dee30bd7eedb4d99bd13bbb9792f7361937
treec83da7569394ea692c5a7a721cca9dd8cb9b2f06
parent7855069655b74d39710615ccf093f95674cfa136
MINOR: tools: add strnlen2() helper

strnlen2() is functionally equivalent to strnlen(). Goal is to provide
an alternative to strnlen() which is not portable since it requires
_POSIX_C_SOURCE >= 200809L
include/haproxy/tools.h