Mercurial > libedl
view include/util.h @ 10:d6f8f73a0c50 v2.1
util: make strnchr an actual strnchr
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 22 Mar 2024 20:51:40 -0400 |
parents | 0c98b46eaf73 |
children | 41b74137e201 |
line wrap: on
line source
#ifndef __edl__internal__util_h #define __edl__internal__util_h #include <stddef.h> size_t EDL_internal_strnlen(const char* s, size_t maxlen); char* EDL_internal_strnchr(const char* haystack, char needle, size_t length); char* EDL_internal_strdup(const char* s); #endif /* __edl__internal__util_h */