memory.h

来自「Many C samples. It is a good sample for 」· C头文件 代码 · 共 31 行

H
31
字号
/*  File   : memory.h
    Author : Richard A. O'Keefe.
    Updated: 1 June 1984
    Purpose: Header file for the System V "memory(3C)" package.

    All the functions in this package are the original work  of  Richard
    A. O'Keefe.   Any resemblance between them and any functions in AT&T
    or other licensed software is due entirely to my use of the System V
    memory(3C) manual page as a specification.  See the READ-ME to  find
    the conditions under which this material may be used and copied.

    The System V manual says that the mem* functions are declared in the
    <memory.h> file.  This file is also included in the <strings.h> file,
    but it does no harm to #include both in either order.
*/

#ifndef	memeql

#define memeql	!memcmp
extern	int	memcmp(/*char^,char^,int*/);
extern	char	*memcpy(/*char^,char^,int*/);
extern	char	*memccpy(/*char^,char^,char,int*/);
extern	char	*memset(/*char^,char,int*/);
extern	char	*memchr(/*char^,char,int*/);
extern	char	*memrchr(/*char^,char,int*/);
extern	char	*memmov(/*char^,char^,int*/);
extern	void	memrev(/*char^,char^,int*/);

#endif	memeql

⌨️ 快捷键说明

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