Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/usr/dummy-include/string.h
170847 views
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
14