sre_ctype.c

来自「hmmer源程序」· C语言 代码 · 共 40 行

C
40
字号
/***************************************************************** * HMMER - Biological sequence analysis with profile HMMs * Copyright (C) 1992-1999 Washington University School of Medicine * All Rights Reserved *  *     This source code is distributed under the terms of the *     GNU General Public License. See the files COPYING and LICENSE *     for details. *****************************************************************//* sre_ctype.c *  * For portability. Some systems have functions tolower, toupper * as macros (for instance, MIPS M-2000 RISC/os!) *  * RCS $Id: sre_ctype.c,v 1.2 1998/10/09 18:07:16 eddy Exp $ */#include <ctype.h>#include "squid.h"#ifdef MEMDEBUG#include "dbmalloc.h"#endifintsre_tolower(int c){  if (isupper(c)) return tolower(c);  else return c;}intsre_toupper(int c){  if (islower(c)) return toupper(c);  else return c;}

⌨️ 快捷键说明

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