xref: /linux/usr/dummy-include/string.h (revision 9e1e9d660255d7216067193d774f338d08d8528d)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _DUMMY_STRING_H
3 #define _DUMMY_STRING_H
4 
5 #include <stddef.h>
6 
7 #define memset(_s, _c, _n) __builtin_memset(_s, _c, _n)
8 #define memcpy(_dest, _src, _n) __builtin_memcpy(_dest, _src, _n)
9 
10 #define strlen(_s) __builtin_strlen(_s)
11 
12 #endif /* _DUMMY_STRING_H */
13