⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mem.h

📁 ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机理和API函数调用几乎相同。甚至可以兼容XP的程序。喜欢研究系统内核的人可以看一看。
💻 H
字号:
#ifndef __MEM_H
#define __MEM_H

#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
#   include <string.h>
    /* An ANSI string.h and pre-ANSI memory.h might conflict */
#   if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
#       include <memory.h>
#   endif /* not STDC_HEADERS and HAVE_MEMORY_H */

#   ifndef index
#define index strchr
#   endif

#   ifndef rindex
#       define rindex strrchr
#   endif

#   define bcopy(s,d,n) memcpy ((d), (s), (n))
#   define bcmp(s1,s2,n) memcmp ((s1), (s2), (n))
#   define bzero(s,n) memset ((s), 0, (n))

#else /* not STDC_HEADERS and not HAVE_STRING_H */
#   include <strings.h>
    /* memory and strings.h conflict on other systems */
#endif /* not STDC_HEADERS and not HAVE_STRING_H */
#endif 	/* __MEM_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -