isspace() - C函数

C库函数int isspace(int c)检查传递的字符是否是空白。

标准空白字符:

' ' (0x20) space (SPC)' ' (0x09) horizontal tab (TAB)'' (0x0a) newline (LF)'v' (0x0b) vertical tab (VT)'f' (0x0c) feed (FF)'' (0x0d) carriage return (CR)

声明

以下是isspace()函数的声明。

var1 = |t| is not a white-space charactervar2 = |1| is not a white-space charactervar3 = | | is a white-space character