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.

Controllo dell’esecuzione del programma<br />

• char *getenv (char *name);<br />

restituisce la stringa che nell’ambiente <strong>di</strong> lavoro del<br />

programma e’ associata al nome fornito name, oppure NULL se<br />

non esiste alcuna stringa<br />

• int system (char *command);<br />

passa la stringa fornitale all’ambiente <strong>di</strong> lavoro per<br />

l’esecuzione del comando associato e restituisce il co<strong>di</strong>ce<br />

d’uscita del comando invocato<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!