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

📄 string.h

📁 一个小型的操作系统,采用gcc进行开发,几千行的代码,方便初学者学习
💻 H
字号:
/**  Snixos Project version 1.0, 2003.6*  (C) Copyright 2003,2004,2005 Jockeyson,KeqiangGao <Snallie@tom.com>*  All Rights Reserved.*  Distributed under the terms of the GNU General Public License.**  This program is a free and open source software and you can redistribute *  it and/or modify it under the terms of the GNU General Public License as*  published by the Free Software Foundation. As no any liablity is assumed *  for any incidental or consequential damages in connection with the *  information or program fragments contained herein,so any exception arised*  is at your own risk. It is ABSOLUTELY WITHOUT ANY WARRANTY.*  Bug report please send to Snallie@tom.com .*//*  string.h: prototype of function  for strings manipulation   Author : Snallie@tom.com  Time   : 2003.6*/#ifndef _STRING_H#define _STRING_Hchar * strcpy(char * dest,const char *src);char * strncpy(char * dest,const char *src,int count);char * strcat(char * dest,const char * src);char * strncat(char * dest,const char * src,int count);int strcmp(const char * cs,const char * ct);int strncmp(const char * cs,const char * ct,int count);char * strchr(const char * s,char c);int strlen(const char * s);char *strlwr(char *str);char *strupr(char *str);void * memcpy(void * dest,const void * src, int n);void * memset(void * s,char c,int count);#endif

⌨️ 快捷键说明

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