Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
intiscntrl(intc**);**
intiswcntrl(wint_tc**);**
Each of these routines returns true if c is a particular representation of a control character.
| Routine | Required Header | Compatibility |
| iscntrl | <ctype.h> | ANSI, Win 95, Win NT |
| iswcntrl | <ctype.h> or <wchar.h> | ANSI, Win 95, Win NT |
For additional compatibility information, see Compatibility in the Introduction.
Libraries
| LIBC.LIB | Single thread static library, retail version |
| LIBCMT.LIB | Multithread static library, retail version |
| MSVCRT.LIB | Import library for MSVCRT.DLL, retail version |
Return Value
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 of these routines 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; see setlocale for more information. For iswcntrl, the result of the test condition is independent of locale.
Parameter
c
Integer to test
Generic-Text Routine Mappings
| TCHAR.H Routine | _UNICODE & _MBCS Not Defined | _MBCS Defined | _UNICODE Defined |
| _istcntrl | iscntrl | iscntrl | iswcntrl |
Character Classification Routines | Locale Routines | is, isw Function Overview