diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-04-28 11:34:12 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-04-28 11:34:12 -0400 |
| commit | 27f637904876fac0f8e69b6829591ea0a7689bb2 (patch) | |
| tree | 13b44eb7ddb36b78c9cd68776b750880dbba7cfa /util.h | |
| parent | 67787e9e2a6a580400cea0f925b7a5f3d9222ef7 (diff) | |
| download | volute-27f637904876fac0f8e69b6829591ea0a7689bb2.zip | |
move lsearch() into util.c
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,3 +3,4 @@ #define max(a, b) ((a > b) ? a : b) void free_arr(void **arr, int n); +int lsearch(const void *key, const void *base, size_t n, size_t size, int (*cmp)(const void *keyval, const void *datum)); |