X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=signal.tex;h=3b11014a81f591a6a8aa10241da17911ca8ba83a;hp=4d748d91a05fbf98770ec688e770f39088777666;hb=9c3be0a6a901fad667ba1abcd8b46c712020cf26;hpb=6483a787322c614bc6282a0bf0ee001f1bf54b44 diff --git a/signal.tex b/signal.tex index 4d748d9..3b11014 100644 --- a/signal.tex +++ b/signal.tex @@ -1,3 +1,13 @@ +%% signal.tex +%% +%% Copyright (C) 2000-2002 Simone Piccardi. Permission is granted to +%% copy, distribute and/or modify this document under the terms of the GNU Free +%% Documentation License, Version 1.1 or any later version published by the +%% Free Software Foundation; with the Invariant Sections being "Prefazione", +%% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the +%% license is included in the section entitled "GNU Free Documentation +%% License". +%% \chapter{I segnali} \label{cha:signals} @@ -1384,8 +1394,8 @@ zombie. In \figref{fig:sig_sigchld_handl} è mostrato il codice contenente una implementazione generica di una routine di gestione per \macro{SIGCHLD}, (che -si trova nei sorgenti allegati nel file \file{HandSIGCHLD.c}); se ripetiamo i -test di \secref{sec:proc_termination}, invocando \cmd{forktest} con l'opzione +si trova nei sorgenti allegati nel file \file{SigHand.c}); se ripetiamo i test +di \secref{sec:proc_termination}, invocando \cmd{forktest} con l'opzione \cmd{-s} (che si limita ad effettuare l'installazione di questa funzione come gestore di \macro{SIGCHLD}) potremo verificare che non si ha più la creazione di zombie. @@ -1407,7 +1417,7 @@ di zombie. #include #include "macro.h" -void HandSIGCHLD(int sig) +void HandSigCHLD(int sig) { int errno_save; int status;