]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/search/cmp/, lib/, tests/: CMP(), cmp_*(): Add macro and functions
authorAlejandro Colomar <alx@kernel.org>
Thu, 14 Nov 2024 14:07:25 +0000 (15:07 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 24 Jan 2025 13:58:13 +0000 (07:58 -0600)
commit224848ebb6483faab8fef8db43d228b5d3eb465e
treea32cbde0c0ed630e22a6e7ace88cdf336233cf67
parentde941a7601f8410a1b918c61eec02ab07263eee5
lib/search/cmp/, lib/, tests/: CMP(), cmp_*(): Add macro and functions

These macros are for use with bsearch(3),lfind(3),qsort(3).

Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/adds.c
lib/adds.h
lib/search/cmp/cmp.c [new file with mode: 0644]
lib/search/cmp/cmp.h [new file with mode: 0644]
tests/unit/Makefile.am