07.04.2013 Views

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

A.19 TMPFILE<br />

A.20 ERRNO<br />

A.21 MEMORY<br />

A.22 ABORT<br />

A.23 EXIT<br />

What are the rules <strong>for</strong> composing a valid file name? (ISO 7.9.3)<br />

Application defined.<br />

Can the same file be open multiple times? (ISO 7.9.3)<br />

Application defined.<br />

What is the effect of the remove function on an open file? (ISO 7.9.4.1)<br />

Application defined.<br />

What is the effect if a file with the new name exists prior to a call to the rename function?<br />

(ISO 7.9.4.2)<br />

Application defined.<br />

What is the <strong>for</strong>m of the output <strong>for</strong> %p conversion in the fprintf function? (ISO 7.9.6.1)<br />

A hexadecimal representation.<br />

What <strong>for</strong>m does the input <strong>for</strong> %p conversion in the fscanf function take? (ISO 7.9.6.2)<br />

A hexadecimal representation.<br />

Is an open temporary file removed if the program terminates abnormally? (ISO 7.9.4.3)<br />

Yes.<br />

What value is the macro errno set to by the fgetpos or ftell function on failure?<br />

(ISO 7.9.9.1, (ISO 7.9.9.4)<br />

Application defined.<br />

What is the <strong>for</strong>mat of the messages generated by the perror function? (ISO 7.9.10.4)<br />

The argument to perror, followed by a colon, followed by a text description of the<br />

value of errno.<br />

What is the behavior of the calloc, malloc or realloc function if the size requested<br />

is zero? (ISO 7.10.3)<br />

A block of zero length is allocated.<br />

What happens to open <strong>and</strong> temporary files when the abort function is called?<br />

(ISO 7.10.4.1)<br />

Nothing.<br />

What is the status returned by the exit function if the value of the argument is other than<br />

zero, EXIT_SUCCESS, or EXIT_FAILURE? (ISO 7.10.4.3)<br />

The value of the argument.<br />

DS51284H-page 138 © 2008 <strong>Microchip</strong> Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!