13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset 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.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>Character Scanned asnp[...][^...]%int *, the number of characters written so far is written into the argument. No scanning is done.pointer; hexadecimal value which must be entered without 0x- prefix.Matches a string of input characters from the set between the brackets. A NULL character isadded to terminate the string. Specifying [ ]...] includes the ']' character in the set of scanningcharacters.Matches a string of input characters not in the set between the brackets. A NULL characteris added to terminate the string. Specifying [^]...] includes the ']' character in the set.Literal '%', no assignment is done.scanf conversion charactersstdio.hfscanf(stream,<strong>for</strong>mat, ...)scanf(<strong>for</strong>mat,...)sscanf(*s, <strong>for</strong>mat,...)vfscanf(stream,<strong>for</strong>mat, arg)vscanf(<strong>for</strong>mat, arg)vsscanf(*s, <strong>for</strong>mat,arg)fprintf(stream,<strong>for</strong>mat, ...)printf(<strong>for</strong>mat, ...)sprintf(*s, <strong>for</strong>mat,...)snprintf(*s, n,<strong>for</strong>mat, ...)wchar.hfwscanf(stream,<strong>for</strong>mat, ...)wscanf(<strong>for</strong>mat, ...)swscanf(*s, <strong>for</strong>mat,...)vfwscanf(stream,<strong>for</strong>mat, arg)DescriptionPer<strong>for</strong>ms a <strong>for</strong>matted read from the given stream.Returns the number of items convertedsuccessfully. (FSS implementation)Per<strong>for</strong>ms a <strong>for</strong>matted read from stdin. Returnsthe number of items converted successfully. (FSSimplementation)Per<strong>for</strong>ms a <strong>for</strong>matted read from the string s.Returns the number of items convertedsuccessfully.Same as fscanf/fwscanf, but extra argumentsare given as variable argument list arg. (SeeSection 13.2.19, stdarg.h)vwscanf(<strong>for</strong>mat, arg) Same as sscanf/swscanf, but extra argumentsare given as variable argument list arg. (SeeSection 13.2.19, stdarg.h)vswscanf(*s, <strong>for</strong>mat, Same as scanf/wscanf, but extra argumentsarg)are given as variable argument list arg. (SeeSection 13.2.19, stdarg.h)fwprintf(stream,<strong>for</strong>mat, ...)Per<strong>for</strong>ms a <strong>for</strong>matted write to the given stream.Returns EOF/WEOF on error. (FSSimplementation)wprintf(<strong>for</strong>mat, ...) Per<strong>for</strong>ms a <strong>for</strong>matted write to the stream stdout.Returns EOF/WEOF on error. (FSSimplementation)-swprintf(*s, n,<strong>for</strong>mat, ...)Per<strong>for</strong>ms a <strong>for</strong>matted write to string s. ReturnsEOF/WEOF on error.Same as sprintf, but n specifies the maximumnumber of characters (including the terminatingnull character) to be written.760

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

Saved successfully!

Ooh no, something went wrong!