Zilog ZUSBOPTS Uživatelský manuál Strana 422

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 520
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 421
Standard Header Files UM017105-0511
394
Zilog Developer Studio II – ZNEO™
User Manual
Diagnostics <assert.h>
The <assert.h> header declares two macros.
Macros
Character Handling <ctype.h>
The <ctype.h> header declares several macros and functions useful for testing and map-
ping characters. In all cases, the argument is an
int, the value of which is represented as
an
unsigned char or equals the value of the EOF macro. If the argument has any other
value, the behavior is undefined.
Macros
The above character-handling macros are nonstandard macros.
Functions
The functions in this section return nonzero (true) if, and only if, the value of the argument
c conforms to that in the description of the function. The term printing character refers to
a member of a set of characters, each of which occupies one printing position on a display
device. The term control character refers to a member of a set of characters that are not
printing characters.
NDEBUG The <assert.h> header defines the assert() macro. It refers to the
NDEBUG macro that is not defined in the header. If NDEBUG is
defined as a macro name before the inclusion of this header, the
assert() macro is defined simply as:
#define assert(ignore)((void) 0)
assert(expression); Tests the expression and, if false, prints the diagnostics including
the expression, file name, and line number. Also calls exit with non-
zero exit code if the expression is false.
TRUE Expands to a constant 1.
FALSE Expands to a constant 0.
Note:
Zobrazit stránku 421
1 2 ... 417 418 419 420 421 422 423 424 425 426 427 ... 519 520

Komentáře k této Příručce

Žádné komentáře