2012/7/26 Lorenzo Breda <[email protected]>:
> "Premoli, Roberto" <[email protected]> ha scritto:
>
>>DOMANDA:
>>e' possibile fare in modo che quando si da il segnale di ctrl-C il
>>programma si arresti solo dopo aver attivato una particolare routin?
>>(nel mio caso, un ciclo for contenente delle printf)
>
> Certamente, il Ctrl-C รจ quasi fatto apposta. Cercati docunentazione sui 
> signal handler.
>

o su sigaction() e relativi esempi.
I.

> --
> Lorenzo Breda
>
>
> --
> Per REVOCARE l'iscrizione alla lista, inviare un email a
> [email protected] con oggetto "unsubscribe". Per
> problemi inviare un email in INGLESE a [email protected]
>
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact [email protected]
> Archive: 
> http://lists.debian.org/[email protected]
>



-- 
"Don't find fault, find a remedy."
(Henry Ford)


--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CALQ+5adRjnzQJubtu0Jcye4yOpP7_JdrE-1ywMX=8khcgfw...@mail.gmail.com

Rispondere a