beautypg.com

Ispunct, Isspace, Isupper – Zilog ZUSBOPTS User Manual

Page 450: Ispunct isspace isupper, Synopsis, Example

background image

Standard Functions

UM017105-0511

422

Zilog Developer Studio II – ZNEO™
User Manual

ispunct

Tests for any printing character except space (' ') or a character for which

isalnum

is true.

Synopsis

#include

int ispunct(int c);

Example

int r;

char c='a';

r=ispunct(c);

isspace

Tests for the following white-space characters: space (' '), form feed ('\f'), new line ('\n'),
carriage return ('\r'), horizontal tab ('\t'), or vertical tab ('\v').

Synopsis

#include

int isspace(int c);

Example

int r;

char c='';

r=isspace(c);

isupper

Tests for any uppercase letter 'A' to 'Z'.

Synopsis

#include

int isupper(int c);

Example

int r;

char c='a';

r=isupper(c);

This manual is related to the following products: