跳转到内容

isascii : ASCII 字符谓词

#include <ctype.h>
int isascii(int c);
```### 描述
isascii 是一个宏,当 c 是 ASCII 字符时返回非零值,否则返回 0。它为所有整数值定义。
通过使用 `#undef isascii' 取消定义该宏,你可以使用编译后的子程序来代替宏定义。### 返回值
如果 c 的低位字节在 0 到 127 (0x00--0x7F) 范围内,isascii 将返回非零值。
---
**权威来源**: BUSMASTER DITA help source `isascii.dita`, compiled into `BUSMASTER.CHM` with the application.