SayoriOS  0.3.3
str_contains.h
1 
9 #pragma once
10 
11 #include "lib/string.h"
12 
13 static inline bool str_contains(const char* haystack, const char* needle) {
14  const char* result = strstr(haystack, needle);
15 
16  return result != NULL;
17 }