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.

Portabilityatoi con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).See Also strtol (page 304)atolSynopsisDescriptionPortability#include long int atol(const char *nptr);atol converts the initial portion of the string pointed to by nptr to a long intrepresentation.atol does not affect the value of errno on an error. If the value of the result cannot berepresented, the behavior is undefined.Except <strong>for</strong> the behavior on error, atol is equivalent to strtol(nptr, (char**)NULL, 10).atol returns the converted value.atol con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).See Also strtol (page 304)atollSynopsisDescriptionPortability#include long int atoll(const char *nptr);atoll converts the initial portion of the string pointed to by nptr to a long long intrepresentation.atoll does not affect the value of errno on an error. If the value of the result cannot berepresented, the behavior is undefined.Except <strong>for</strong> the behavior on error, atoll is equivalent to strtoll(nptr, (char**)NULL, 10).atoll returns the converted value.atoll con<strong>for</strong>ms to ISO/IEC 9899:1999 (C99).See Also strtoll (page 306)callocSynopsis#include void *calloc(size_t nmemb, size_t size);Chapter 28 - General utilities297

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

Saved successfully!

Ooh no, something went wrong!