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

📄 string.h

📁 用SPCE061A控制两个电机画任意直线的程序。
💻 H
字号:
/*
 * string.h
 *
 * Definitions for memory and string functions.
 */
 
#ifndef _STRING_H_
#define	_STRING_H_

#ifdef __cplusplus
extern "C" {
#endif


#ifndef _SIZE_T				//2004-4-28 add by wenyan	
#define _SIZE_T
typedef unsigned long size_t;	
#endif

#ifndef NULL
#define NULL 0
#endif 

extern int    memcmp(const void *,const void *,size_t);
extern void  *memcpy(void *,const void *,size_t);
extern void  *memmove(void *,const void *,size_t);
extern void  *memset(void *,int,size_t);

extern char  *strcat(char *,const char *);
extern char  *strchr(const char *, int);
extern int    strcmp(const char *,const char *);
extern char  *strcpy(char *,const char *);
extern char  *strerror(int);						
extern size_t strlen(const char *);
extern int    strncmp(const char *, const char *, size_t);
extern char  *strncpy(char *, const char *, size_t);
extern char  *strstr(const char *, const char *);
extern char  *strupr(char*);


#ifdef __cplusplus
}
#endif
#endif /* _STRING_H_ */

⌨️ 快捷键说明

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