11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptiontolower converts an uppercase letter to a corresponding lowercase letter.If the argument c is a character <strong>for</strong> which isupper is true, tolower returns thecorresponding lowercase letter; otherwise, the argument is returned unchanged.Portabilitytolower con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).toupperSynopsisDescription#include int toupper(int c);toupper converts a lowercase letter to a corresponding uppercase letter.If the argument c is a character <strong>for</strong> which islower is true, toupper returns thecorresponding uppercase letter; otherwise, the argument is returned unchanged.Portabilitytoupper con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99). - ErrorsThe header file defines macros defines several macros, all relating to thereporting of error conditions.MacroserrnoError numbererrnoSynopsisDescription#include int errno;errno expands to a modifiable lvalue of type int, the value of which is set to a positiveerror number by several library functions.The ISO standard does not specify whether errno is a macro or an identifier declaredwith external linkage. Portable programs must not make assumptions about theimplementation of errno.The value of errno is zero at program startup, but is never set to zero by any libraryfunction. The value of errno may be set to a nonzero value by a library function, andthis effect is documented in each functio that does so.Chapter 28 - Errors247

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!