summaryrefslogtreecommitdiff
path: root/usr/dummy-include/string.h
blob: e059808d309a6de227b76336a703921e4591b825 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _DUMMY_STRING_H
#define _DUMMY_STRING_H

#include <stddef.h>

#define memset(_s, _c, _n) __builtin_memset(_s, _c, _n)
#define memcpy(_dest, _src, _n) __builtin_memcpy(_dest, _src, _n)

#define strlen(_s) __builtin_strlen(_s)

#endif /* _DUMMY_STRING_H */