11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

<strong>IAR</strong> CLIB Librarystdio.hIn stdio.h, the following C99 functions are defined:vscanf, vfscanf, vsscanf, vsnprintf, snprintfThe functions printf, scanf, and all their variants have added functionality from theC99 standard. For <strong>reference</strong> information about these functions, see the library <strong>reference</strong>available from the Help menu.The following functions providing I/O functionality for libraries built without FILEsupport are definded:__write_array Corresponds to fwrite on stdout.__ungetchar__getsCorresponds to ungetc on stdout.Corresponds to fgets on stdin.stdlib.hIn stdlib.h, the following C99 functions are defined:_Exit, llabs, lldiv, strtoll, strtoull, atoll, strtof, strtold.The function strtod has added functionality from the C99 standard. For <strong>reference</strong>information about this functions, see the library <strong>reference</strong> available from the Helpmenu.The __qsortbbl function is defined; it provides sorting using a bubble sort algorithm.This is useful for applications that have a limited stack.wchar.hIn wchar.h, the following C99 functions are defined:vfwscanf, vswscanf, vwscanf, wcstof, wcstolb.wctype.hIn wctype.h, the C99 function iswblank is defined.<strong>IAR</strong> CLIB LibraryThe <strong>IAR</strong> CLIB Library provides most of the important C library definitions that applyto embedded systems. These are of the following types:●Standard C library definitions available for user programs. These are documented inthis chapter.238<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

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

Saved successfully!

Ooh no, something went wrong!