Files
RTOS/AppKit/str_util.h
T

29 lines
603 B
C
Raw Normal View History

2026-07-09 09:57:00 +08:00
#ifndef INCLUDED_STR_UTIL_H
#define INCLUDED_STR_UTIL_H
#ifndef INCLUDED_OS_TYPES_H
#include <os_types.h>
#endif /*INCLUDED_OS_TYPES_H*/
/* ------------------------------------------------------------------------------------------------------------------ */
/* */
/**
*
* @param haystack
* @param needle
* @return
*/
const char* str_util_strstr(const char* haystack, const char* needle);
/**
*
* @param haystack
* @param needle
* @param needle_len
* @return
*/
const char* str_util_strnstr(const char* haystack, const char* needle, os_size_t needle_len);
#endif /*INCLUDED_STR_UTIL_H*/