---
name: "isascii"
section: "3"
platform: "macos"
package: "Libc"
version: "1752.120.2"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "macos"]
url: "https://new.carta.tech/isascii"
---

# isascii(3)

test for ASCII character

## NAME

**isascii** – test for ASCII character

## LIBRARY

Standard C Library (libc, -lc)

## SYNOPSIS

**#include \<ctype.h\>**

*int*\

**isascii**(*int c*);

## DESCRIPTION

The **isascii**() function tests for an ASCII character, which is any character between 0 and octal 0177 inclusive.

## SEE ALSO

[ctype(3)](/ctype/3.md), [iswascii(3)](/iswascii/3.md), [ascii(7)](/ascii/7.md)
