?? string.h
字號:
/* * File : string.h * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2008, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Author Notes * 2008-08-14 Bernard the first version */#ifndef __STRING_H__#define __STRING_H__#include <rtthread.h>#include <sys/types.h>/* replace for standard string library */#if !defined (RT_USING_NEWLIB) && defined (RT_USING_MINILIBC)void* memset(void *s, int c, size_t n);int memcmp(const void *s1, const void *s2, size_t n);void* memcpy(void *dest, const void *src, size_t n);void* memmove(void *dest, const void *src, size_t n);size_t strlen(const char *s);char * strstr(const char * s1,const char * s2);char *strcpy(char *dest, const char *src);char *strncpy(char *dest, const char *src, size_t n);int strcmp (const char *s1, const char *s2);int strcasecmp(const char *a, const char *b);int strncasecmp(const char *cs, const char *ct, size_t count);char *strdup(const char *s);#endif#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -