Compartilhar via


iscntrl, iswcntrl (Windows CE 5.0)

Send Feedback

Developing an Application > Microsoft C Run-time Library for Windows CE > Run-time Library Reference

This routine returns nonzero if c is a particular representation of a control character.

int iscntrl(    int c);int iswcntrl(    wint_t c);

Parameters

  • c
    Integer to test.

Return Values

iscntrl returns a non-zero value if c is a control character (0x00 – 0x1F or 0x7F).

iswcntrl returns a non-zero value if c is a control wide character.

Each routine returns 0 if c does not satisfy the test condition.

The result of the test condition for the iscntrl function depends on the LC_CTYPE category setting of the current locale.

For iswcntrl, the result of the test condition is independent of locale.

Generic-Text Routine Mappings

TCHAR.H Routine _UNICODE Defined
_istcntrl iswcntrl

For more information about TCHAR.H routines, see Generic Text Mappings.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: stdlib.h.
Link Library: coredll.dll.

See Also

isalnum | isdigit | ispunct | isspace

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.