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.

A.17 SIGNALS<br />

A.18 STREAMS AND FILES<br />

Implementation-Defined Behavior<br />

What is the set of signals <strong>for</strong> the signal function? (ISO 7.7.1.1)<br />

TABLE A-6: SIGNAL FUNCTION<br />

Name Description<br />

SIGABRT Abnormal termination.<br />

SIGINT Receipt of an interactive attention signal.<br />

SIGILL Detection of an invalid function image.<br />

SIGFPE An erroneous arithmetic operation.<br />

SIGSEGV An invalid access to storage.<br />

SIGTERM A termination request sent to the program.<br />

Describe the parameters <strong>and</strong> the usage of each signal recognized by the signal<br />

function. (ISO 7.7.1.1)<br />

Application defined.<br />

Describe the default h<strong>and</strong>ling <strong>and</strong> the h<strong>and</strong>ling at program startup <strong>for</strong> each signal<br />

recognized by the signal function? (ISO 7.7.1.1)<br />

None.<br />

If the equivalent of signal (sig,SIG_DFL) is not executed prior to the call of a signal h<strong>and</strong>ler,<br />

what blocking of the signal is per<strong>for</strong>med? (ISO 7.7.1.1)<br />

None.<br />

Is the default h<strong>and</strong>ling reset if a SIGILL signal is received by a h<strong>and</strong>ler specified to the<br />

signal function? (ISO 7.7.1.1)<br />

No.<br />

Does the last line of a text stream require a terminating new line character? (ISO 7.9.2)<br />

No.<br />

Do space characters, that are written out to a text stream immediately be<strong>for</strong>e a new line<br />

character, appear when the stream is read back in? (ISO 7.9.2)<br />

Yes.<br />

How many null characters may be appended to data written to a binary stream?<br />

(ISO 7.9.2)<br />

None.<br />

Is the file position indicator of an append mode stream initially positioned at the start or<br />

end of the file? (ISO 7.9.3)<br />

Start.<br />

Does a write on a text stream cause the associated file to be truncated beyond that<br />

point? (ISO 7.9.3)<br />

Application defined.<br />

Describe the characteristics of file buffering. (ISO 7.9.3)<br />

Fully buffered.<br />

Can zero-length file actually exist? (ISO 7.9.3)<br />

Yes.<br />

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

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

Saved successfully!

Ooh no, something went wrong!