isspace.c

来自「the vxworks system kernel souce packeg.t」· C语言 代码 · 共 62 行

C
62
字号
/* isspace.c - character classification and conversion macros *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01e,03mar93,jdi  more documentation cleanup for 5.1.01d,07feb93,jdi  documentation cleanup for 5.1.01c,20sep92,smb  documentation additions01b,04jul92,smb  added vxWorks.h and extra documentation01a,24mar92,smb  written*//*DESCRIPTIONINCLUDE FILE: ctype.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "ctype.h"#undef isspace/********************************************************************************* isspace - test whether a character is a white-space character (ANSI)** This routine tests whether a character is one of* the standard white-space characters, as follows:* * .TS* tab(|);* l l.*         space           | "\0"*         horizontal tab  | \et*         vertical tab    | \ev*         carriage return | \er*         new-line        | \en*         form-feed       | \ef* .TE** INCLUDE FILES: ctype.h** RETURNS: Non-zero if and only if <c> is a space, tab, carriage return,* new-line, or form-feed character.*/int isspace     (    int c       /* character to test */    )    {    return __isspace(c);    }

⌨️ 快捷键说明

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