18.08.2013 Views

Fondamenti di Informatica Librerie di funzioni - Robotica

Fondamenti di Informatica Librerie di funzioni - Robotica

Fondamenti di Informatica Librerie di funzioni - Robotica

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.

exit e atexit<br />

• atexit puo’ essere chiamata piu’ volte, per registrare piu’ <strong>di</strong><br />

una funzione per l’esecuzione al termine del programma<br />

• le <strong>funzioni</strong> registrate sono eseguite in or<strong>di</strong>ne inverso rispetto<br />

alla loro registrazione<br />

• il controllo viene restituito all’ambiente chiamante<br />

• il programma restituisce un valore numerico<br />

• generalmente in<strong>di</strong>ca lo stato del programma o la causa della<br />

sua terminazione<br />

Tullio Facchinetti <strong>Fondamenti</strong> <strong>di</strong> <strong>Informatica</strong> <strong>Librerie</strong> <strong>di</strong> <strong>funzioni</strong>

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

Saved successfully!

Ooh no, something went wrong!