Freigeben über


isprint, iswprint (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 printable character.

int isprint(    int c);int iswprint(    wint_t c);

Parameters

  • c
    Integer to test

Return Values

isprint returns a nonzero value if c is a printable character, including the space character (0x20 – 0x7E).

iswprint returns a nonzero value if c is a printable wide character, including the space wide character.

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

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

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

Generic-Text Routine Mappings

TCHAR.H Routine _UNICODE Defined
_istprint iswprint

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 | __isascii | iscntrl | isdigit | ispunct | isspace

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.