[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

isblank Subroutine

Purpose

Tests for a blank character.

Syntax

#include <ctype.h>

int isblank (c)
int c;

Description

The isblank subroutine tests whether the c parameter is a character of class blank in the program's current locale.

The c parameter is a type int, the value of which the application shall ensure is a character representable as an unsigned char or equal to the value of the macro EOF. If the parameter has any other value, the behavior is undefined.

Parameters

c Specifies the character to be tested.

Return Values

The isblank subroutine returns nonzero if c is a <blank>; otherwise, it returns 0.

Related Information

The ctype, isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, or isascii Subroutines.

setlocale Subroutine in AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]