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

📄 strequ.c

📁 mips架构的bootloader,99左右的版本 但源代码现在没人更新了
💻 C
字号:
/************************************************************* * File: lib/strequ.c * Purpose: Part of C runtime library * Author: Phil Bunce (pjb@carmel.com) * Revision History: *	970304	Start of revision history */#include "string.h"/**************************************************************  int strequ(s1,s2) *	return 1 if s1 matches s2 else returns 0 */int strequ(str1,str2)char *str1,*str2;{if (!str1 || !str2) return(0);while (*str1) if (*str1++ != *str2++) return(0);if (*str2 == 0) return(1);return(0);}#if 0 /*HTML*/$NAME=strequ;$SYNOPSIS= <<EOF;#include <string.h>int strequ(char *s1, char *s2)EOF$DESCRIPTION= <<EOF;strequ() compares  its  arguments  and  returns  an  integer equal toone or 0, depending whether s1 is equal to, or not equal to s2.EOF$SEEALSO="strcmp striequ strncmp";$CATAGORY=string;#endif#if 0 /*DOCUMENTATION*/NAME: strequSYNOPSIS:#include <string.h>int strequ(char *s1, char *s2)DESCRIPTION:strequ() compares  its  arguments  and  returns  an  integer equal toone or 0, depending whether s1 is equal to, or not equal to s2.SEEALSO: strcmp striequ strncmpCATAGORY: string#endif

⌨️ 快捷键说明

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