Download pSOSystem System Calls
Transcript
psc.book Page 85 Monday, January 11, 1999 1:50 PM pSOSystem System Calls pREPC+ System Calls The conversion specifier characters and their definitions are as follows: d, i An optionally signed decimal integer is expected. The corresponding argument should be a pointer to an integer. o An optionally signed octal integer is expected. The corresponding argument should be a pointer to an integer. u An optionally signed octal integer is expected. The corresponding argument should be a pointer to an unsigned long integer. x An optionally signed hexadecimal integer is expected. The corresponding argument should be a pointer to an integer. e,f,g An optionally signed floating-point number is expected. The corresponding argument should be a pointer to a float. fscanf p An unsigned hexadecimal number is expected. The corresponding argument should be a pointer to a pointer to void. s A sequence of non-white-space characters is expected. The corresponding argument should be a pointer to a character array large enough to accept the sequence and an added, terminating null character. c A sequence of characters is expected. The number of characters in the sequence should be equal to the field width. If the field width is not specified, one character is expected. The corresponding argument should be a pointer to a character array large enough to accept the sequence. A terminating null character is not added. [ A sequence of characters is expected. Every character must match one of the characters listed after the [ character and up to and including a ] character. If the first character listed after the initial [ character is a circumflex (^) character, then the characters read must not match the characters given in the list. A character list beginning with [] or [^] is a special case. If this occurs, the first ] character does not end the list and a second ] character is needed. The corresponding argument should be a pointer to a character array large enough to accept the sequence and an added, terminating null character. n No input is read. The corresponding argument should be a pointer to an integer that is loaded with the number of characters read so far. % A % character is expected. No assignment occurs. 4-85 4
Related documents
pSOSystem System Calls
User Manual - HumDesi Radio
pSOSystem Programmer`s Reference
V750-series UHF RFID System User`s Manual
GAMS — A User's Guide
Motorola A008 Service manual
pSOS System Concepts
pSOS Reference
PHILIPS
Motorola ME4251 User's Manual
pRISM+ User`s Guide
V750 Series UHF RFID System Reader/Writer/Antenna User`s Manual