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