projects/linux·blob uaccess-cleanups · refs

12 lines · 307 B

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 */