string.h

来自「MIPS架构UCOS-ii移植例程」· C头文件 代码 · 共 82 行

H
82
字号
/**************************************************************************
*                                                                         *
*   PROJECT     : TMON (Transparent monitor)                              *
*                                                                         *
*   MODULE      : STRING.h                                                *
*                                                                         *
*   AUTHOR      : Michael Anburaj                                         *
*                 URL  : http://geocities.com/michaelanburaj/             *
*                 EMAIL: michaelanburaj@hotmail.com                       *
*                                                                         *
*   PROCESSOR   : MIPS 4Kc (32 bit RISC) - ATLAS board                    *
*                                                                         *
*   TOOL-CHAIN  : SDE & Cygnus                                            *
*                                                                         *
*   DESCRIPTION :                                                         *
*   This is a std header file.                                            *
*                                                                         *
**************************************************************************/


#ifndef __STRING_H__
#define __STRING_H__

#include "sysdefs.h"

#ifdef __cplusplus
extern "C" {
#endif


/* ********************************************************************* */
/* Module configuration */


/* ********************************************************************* */
/* Interface macro & data definition */


/* ********************************************************************* */
/* Interface function definition */

extern char
	*strcpy(char *, const char *),
	*strncpy(char *, const char *, size_t),
	*strcat(char *, const char *),
	*strncat(char *, const char *, size_t),
	*strchr(const char *, int),
	*strstr(const char *, const char *),
	*strrchr(char *, int),
	*strpbrk(char *, char *),
	*strtok(char *, char *),
	*strxcpy(char *, char *, int),
	*strerror(int);
extern unsigned long
   strtoul(const char *,char **,int);
extern long 
   strtol(const char *,char **,int);
extern int
	strcmp(const char *, const char *),
	strncmp(const char *, const char *, size_t),
	strlen(const char *),
	strspn(const char *, const char *),
	strcspn(const char *, const char *),
	strcasecmp(const char *, const char *);
extern void
	*memccpy(void *, const void *, int, size_t),
	*memchr(const void *, int, size_t),
	*memcpy(void *, const void *, size_t),
	*memset(void *, int, size_t),
	*memmove(void *, const void *, size_t);
extern int
	memcmp(const void *, const void *, size_t);


/* ********************************************************************* */

#ifdef __cplusplus
}
#endif

#endif /* __STRING_H__ */

⌨️ 快捷键说明

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