17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

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

u<br />

Lu<br />

d<br />

Ld<br />

o<br />

Lo<br />

x or X<br />

Lx or LX<br />

i<br />

Li<br />

f,g or e<br />

Matches an unsigned decimal integer. The corresponding<br />

argument shall be a pointer to an unsigned integer.<br />

Matches a long unsigned decimal integer. The corresponding<br />

argument shall be a pointer to a long unsigned integer.<br />

Matches a signed decimal integer. The corresponding argument<br />

shall be a pointer to a signed integer.<br />

Matches a long signed decimal integer. The corresponding<br />

argument shall be a pointer to a long signed integer.<br />

Matches a signed or unsigned octal integer. The corresponding<br />

argument shall be a pointer to a signed or unsigned integer.<br />

Matches a long signed or unsigned octal integer. The<br />

corresponding argument shall be a pointer to a long signed or<br />

unsigned integer.<br />

Matches a hexadecimal integer. The corresponding argument<br />

shall be a pointer to a signed or unsigned integer.<br />

Matches a long hexadecimal integer. The corresponding<br />

argument shall be a pointer to a long signed or unsigned integer.<br />

Matches a signed or unsigned integer. The corresponding<br />

argument shall be a pointer to a signed or unsigned integer.<br />

Matches a long signed or unsigned integer. The corresponding<br />

argument shall be a pointer to a long signed or unsigned integer.<br />

Matches a floating point number in decimal or exponential format.<br />

The corresponding argument shall be a pointer to a float.<br />

[ Matches a non-empty sequence of characters from a set of<br />

expected characters. The sequence of characters included in the<br />

set are made up of all character following the left bracket ([) up to<br />

the matching right bracket (]). Unless the first character after the<br />

left bracket is a ^, in which case the set of characters contain all<br />

characters that do not appear between the brackets. If a -<br />

character is in the set and is not the first or second, where the<br />

first is a ^, nor the last character, then the set includes all<br />

characters from the character before the - to the character after<br />

the -.<br />

For example, %[a-z] would include all characters from a to z in<br />

the set and %[^a-z] would exclude all characters from a to z from<br />

the set. The corresponding argument shall be a pointer to the<br />

initial character of an array long enough to accept the sequence<br />

and a terminating null character, which will be added<br />

automatically.<br />

266

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

Saved successfully!

Ooh no, something went wrong!