Function iscntrl

Top 

Declaration:

int iscntrl(unsigned char c);

Description

The iscntrl function checks, if parameter c is a control character (from 0x00 to 0x1F, or 0x7F).

Returned character

The iscntrl function will return a non-zero value, if c is a control character or digit, otherwise it will return 0.