X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=prochand.tex;h=721b899fe852690493596a0bb8aefeffb5675262;hp=9a59964518678dc76eb79dd4d452b0db20664a3d;hb=7f82a673d95054cd295c8743606cfa8aa249e731;hpb=fb2937152ac00dcf1536534a215adaa8fc4fd2d3 diff --git a/prochand.tex b/prochand.tex index 9a59964..721b899 100644 --- a/prochand.tex +++ b/prochand.tex @@ -50,12 +50,12 @@ Tutti i processi inoltre portano traccia del pid del genitore, chiamato in genere \textit{ppid} (da \textit{Parente Process Id}). Questi identificativi possono essere ottenuti da un programma usando le funzioni: \begin{functions} -\incldecl{sys/types.h} -\incldecl{unistd.h} +\headdecl{sys/types.h} +\headdecl{unistd.h} \funcdecl{pid\_t getpid(void)} restituisce il pid del processo corrente. \funcdecl{pid\_t getppid(void)} restituisce il pid del padre del processo corrente. -\end{} +\end{functions} \section{Il controllo dei processi}