Searched defs:haystack (Results 1 - 1 of 1) sorted by relevance

/systemd/src/basic/
H A Dstring-util.h167 /* Normal memmem() requires haystack to be nonnull, which is annoying for zero-length buffers */
168 static inline void *memmem_safe(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) { argument
171 return (void*) haystack;
176 assert(haystack);
179 return memmem(haystack, haystacklen, needle, needlelen);

Completed in 10 milliseconds