Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/nios2/include/asm/string.h
26493 views
1
/*
2
* Copyright (C) 2004 Microtronix Datacom Ltd
3
*
4
* This file is subject to the terms and conditions of the GNU General Public
5
* License. See the file "COPYING" in the main directory of this archive
6
* for more details.
7
*/
8
9
#ifndef _ASM_NIOS2_STRING_H
10
#define _ASM_NIOS2_STRING_H
11
12
#ifdef __KERNEL__
13
14
#define __HAVE_ARCH_MEMSET
15
#define __HAVE_ARCH_MEMCPY
16
#define __HAVE_ARCH_MEMMOVE
17
18
extern void *memset(void *s, int c, size_t count);
19
extern void *memcpy(void *d, const void *s, size_t count);
20
extern void *memmove(void *d, const void *s, size_t count);
21
22
#endif /* __KERNEL__ */
23
24
#endif /* _ASM_NIOS2_STRING_H */
25
26