mirror of
https://github.com/huuck/FlipperZeroNRFJammer.git
synced 2026-04-26 14:09:59 -07:00
added sources
This commit is contained in:
17
lib/string_polyfill/stringp.h
Normal file
17
lib/string_polyfill/stringp.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// NOTE The following functions are not available in the OFW, so we need to reimplement them as a polyfill.
|
||||
|
||||
char *strcat_(char *dest, const char *src);
|
||||
char *rawmemchr_(char *s, char c);
|
||||
char *strpbrk_(char *s1, const char *s2);
|
||||
char *strtok_(char *s, const char *delim);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user