xref: /linux/usr/dummy-include/string.h (revision 5d0d3623303775d750e122a2542d1a26c8573d38)
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