- privilegi può eseguire l'operazione.
-\item \macro{ENOENT} \textit{No such file or directory}. Il file indicato dal
- pathname non esiste: o una delle componenti non esiste o il pathname
- contiene un link simbolico spezzato.
-\item \macro{EIO} \textit{Input/output error}. Errore di input/output: usato
- per riportare errori hardware in lettura/scrittura (su un dispositivo).
-\item \macro{ENXIO} \textit{No such device or address}. Device inesistente: il
- sistema ha tentato di usare un dispositivo attraverso il file specificato,
- ma non lo ha trovato. Può significare che il file di dispositivo non è
- corretto, che il modulo relativo non è stato caricato nel kernel, o che il
- dispositico è fisicamente assente o non funzionante.
-\item \macro{ENOEXEC} \textit{Invalid executable file format}. Il file non ha
- un formato eseguibile, è un errore riscontrato dalle funzioni \func{exec}.
-\item \macro{EBADF} \textit{Bad file descriptor}. File descriptor non valido:
- si è usato un file descriptor inesistente, o aperto in sola lettura per
- scrivere, o viceversa.
-\item \macro{ENOMEM} \textit{No memory available}. Il kernel non è in grado di
- allocare ulteriore memoria per completare l'operazione richiesta.
-\item \macro{EACCESS} \textit{Permission denied}. Permesso negato: l'accesso
- al file non è consentito: i permessi del file o della directory non
- consentono l'operazione.
-
-
-
-\section{Gli errori di rete}
-\label{sec:err_network}
-
-
-\item \macro{EXDEV} \textit{Cross-device link}.
-\item \macro{ENOTBLK} \textit{}.
-\item \macro{EBUSY} \textit{Resource busy}.
-\item \macro{EEXIST} \textit{File exists}.
-\item \macro{ENODEV} \textit{No such device}.
-\item \macro{ENOTDIR} \textit{Not a directory}. un componente del pathname non è una directory.
-
-\item \macro{EISDIR} \textit{Is a directory}.
-\item \macro{EINVAL} \textit{Invalid argument}.
-\item \macro{EMFILE} \textit{Too many open files}.
-\item \macro{ENFILE} \textit{File table overflow}.
-\item \macro{ENOTTY} \textit{Not a terminal}.
-\item \macro{ETXTBSY} \textit{Text file busy}.
-\item \macro{EFBIG} \textit{File too big}.
-
-\item \macro{ENOSPC} \textit{No space left on device}. la directory in cui si
- vuole creare il link non ha spazio per ulteriori voci.
-
-\item \macro{ESPIPE} \textit{Invalid seek operation}.
-\item \macro{EROFS} \textit{Read-only file system}. il file risiede su un filesystem read-only.
-
-\item \macro{EMLINK} \textit{Too many links}. Ci sono troppi link al file (il
- numero massimo è specificato dalla variabile \macro{LINK\_MAX}, vedi
- \secref{sec:xxx_limits}).
-
-\item \macro{EPIPE} \textit{Broken pipe}.
-\item \macro{EDOM} \textit{Domain error}.
-\item \macro{ERANGE} \textit{Range error}.
-\item \macro{EAGAIN} \textit{Resource temporarily unavailable}.
-\item \macro{EWOULDBLOCK} \textit{Operation would block}. In Linux è identico
- a \macro{EAGAIN}.
-\item \macro{EINPROGRESS} \textit{Operation now in progress}.
-\item \macro{EALREADY} \textit{Operation already in progress}.
-\item \macro{ENOTSOCK} \textit{Socket operation on non-socket}.
-\item \macro{EMSGSIZE} \textit{Message too long}.
-\item \macro{EPROTOTYPE} \textit{Protocol wrong type for socket}.
-\item \macro{ENOPROTOOPT} \textit{Protocol not available}.
-\item \macro{EPROTONOSUPPORT} \textit{Protocol not supported}.
-\item \macro{ESOCKTNOSUPPORT} \textit{Socket type not supported}.
-\item \macro{EOPNOTSUPP} \textit{Operation not supported on transport endpoint}.
-\item \macro{EPFNOSUPPORT} \textit{Protocol family not supported}.
-\item \macro{EAFNOSUPPORT} \textit{Address family not supported by protocol}.
-\item \macro{EADDRINUSE} \textit{Address already in use}.
-\item \macro{EADDRNOTAVAIL} \textit{Cannot assign requested address}.
-\item \macro{ENETDOWN} \textit{Network is down}.
-\item \macro{ENETUNREACH} \textit{Network is unreachable}.
-\item \macro{ENETRESET} \textit{Network dropped connection because of reset}.
-\item \macro{ECONNABORTED} \textit{Software caused connection abort}.
-\item \macro{ECONNRESET} \textit{Connection reset by peer}.
-\item \macro{ENOBUFS} \textit{No buffer space available}.
-\item \macro{EISCONN} \textit{Transport endpoint is already connected}.
-\item \macro{ENOTCONN} \textit{Transport endpoint is not connected}.
-\item \macro{EDESTADDRREQ} \textit{Destination address required}.
-\item \macro{ESHUTDOWN} \textit{Cannot send after transport endpoint shutdown}.
-\item \macro{ETOOMANYREFS} \textit{Too many references: cannot splice}.
-\item \macro{ETIMEDOUT} \textit{Connection timed out}.
-\item \macro{ECONNREFUSED} \textit{Connection refused}.
-
-\item \macro{ELOOP} \textit{Too many symbolic links encountered}. ci sono
- troppi link simbolici nella risoluzione di un pathname.
-
-\item \macro{ENAMETOOLONG} \textit{File name too long}. si è indicato un
- pathname troppo lungo.
-
-\item \macro{EHOSTDOWN} \textit{Host is down}.
-\item \macro{EHOSTUNREACH} \textit{No route to host}.
-\item \macro{ENOTEMPTY} \textit{Directory not empty}.
-\item \macro{EPROCLIM} \textit{}.
-\item \macro{EUSERS} \textit{Too many users}.
-\item \macro{EDQUOT} \textit{Quota exceeded}.
-\item \macro{ESTALE} \textit{Stale NFS file handle}.
-\item \macro{EREMOTE} \textit{}.
-\item \macro{EBADRPC} \textit{}.
-\item \macro{ERPCMISMATCH} \textit{}.
-\item \macro{EPROGUNAVAIL} \textit{}.
-\item \macro{EPROGMISMATCH} \textit{}.
-\item \macro{EPROCUNAVAIL} \textit{}.
-\item \macro{ENOLCK} \textit{No locks available}.
-\item \macro{EFTYPE} \textit{Inappropriate file type or format}.
-\item \macro{EAUTH} \textit{}.
-\item \macro{ENEEDAUTH} \textit{}.
-\item \macro{ENOSYS} \textit{Function not implemented}.
-\item \macro{ENOTSUP} \textit{Not supported}.
-\item \macro{EILSEQ} \textit{Illegal byte sequence}.
-\item \macro{EBACKGROUND} \textit{}.
-\item \macro{EDIED} \textit{}.
-\item \macro{ED} \textit{}.
-\item \macro{EGREGIOUS} \textit{}.
-\item \macro{EIEIO} \textit{}.
-\item \macro{EGRATUITOUS} \textit{}.
-\item \macro{EBADMSG} \textit{Not a data message}.
-\item \macro{EIDRM} \textit{Identifier removed}.
-\item \macro{EMULTIHOP} \textit{Multihop attempted}.
-\item \macro{ENODATA} \textit{No data available}.
-\item \macro{ENOLINK} \textit{Link has been severed}.
-\item \macro{ENOMSG} \textit{No message of desired type}.
-\item \macro{ENOSR} \textit{Out of streams resources}.
-\item \macro{ENOSTR} \textit{Device not a stream}.
-\item \macro{EOVERFLOW} \textit{Value too large for defined data type}.
-\item \macro{EPROTO} \textit{Protocol error}.
-\item \macro{ETIME} \textit{Timer expired}.
-
-
-\section{Errori del kernel}
-\label{sec:err_kernel_err}
-
-\item \macro{ERESTART} \textit{Interrupted system call should be restarted}.
-\item \macro{ECHRNG} \textit{Channel number out of range}.
-\item \macro{EL2NSYNC} \textit{Level 2 not synchronized}.
-\item \macro{EL3HLT} \textit{Level 3 halted}.
-\item \macro{EL3RST} \textit{Level 3 reset}.
-\item \macro{ELNRNG} \textit{Link number out of range}.
-\item \macro{EUNATCH} \textit{Protocol driver not attached}.
-\item \macro{ENOCSI} \textit{No CSI structure available}.
-\item \macro{EL2HLT} \textit{Level 2 halted}.
-\item \macro{EBADE} \textit{Invalid exchange}.
-\item \macro{EBADR} \textit{Invalid request descriptor}.
-\item \macro{EXFULL} \textit{Exchange full}.
-\item \macro{ENOANO} \textit{No anode}.
-\item \macro{EBADRQC} \textit{Invalid request code}.
-\item \macro{EBADSLT} \textit{Invalid slot}.
-\item \macro{EDEADLOCK} Identico a \macro{EDEADLK}.
-\item \macro{EBFONT} \textit{Bad font file format}.
-\item \macro{ENONET} \textit{Machine is not on the network}.
-\item \macro{ENOPKG} \textit{Package not installed}.
-\item \macro{EADV} \textit{Advertise error}.
-\item \macro{ESRMNT} \textit{Srmount error}.
-\item \macro{ECOMM} \textit{Communication error on send}.
-\item \macro{EDOTDOT} \textit{RFS specific error}.
-\item \macro{ENOTUNIQ} \textit{Name not unique on network}.
-\item \macro{EBADFD} \textit{File descriptor in bad state}.
-\item \macro{EREMCHG} \textit{Remote address changed}.
-\item \macro{ELIBACC} \textit{Can not access a needed shared library}.
-\item \macro{ELIBBAD} \textit{Accessing a corrupted shared library}.
-\item \macro{ELIBSCN} \textit{.lib section in a.out corrupted}.
-\item \macro{ELIBMAX} \textit{Attempting to link in too many shared libraries}.
-\item \macro{ELIBEXEC} \textit{Cannot exec a shared library directly}.
-\item \macro{ESTRPIPE} \textit{Streams pipe error}.
-\item \macro{EUCLEAN} \textit{Structure needs cleaning}.
-\item \macro{ENAVAIL} \textit{No XENIX semaphores available}.
-\item \macro{EISNAM} \textit{Is a named type file}.
-\item \macro{EREMOTEIO} \textit{Remote I/O error}.
-\item \macro{ENOMEDIUM} \textit{No medium found}.
-\item \macro{EMEDIUMTYPE} \textit{Wrong medium type}.
-\item \macro{} \textit{}.
-
-
+ privilegi può eseguire l'operazione.
+\item \errcode{ENOENT} \textit{No such file or directory}. Il file indicato
+ dal \itindex{pathname} \textit{pathname} non esiste: o una delle componenti
+ non esiste o il \textit{pathname} contiene un link simbolico spezzato.
+ Errore tipico di un riferimento ad un file che si suppone erroneamente
+ essere esistente.
+\item \errcode{EIO} \textit{Input/output error}. Errore di input/output: usato
+ per riportare errori hardware in lettura/scrittura su un dispositivo.
+\item \errcode{ENXIO} \textit{No such device or address}. Dispositivo
+ inesistente: il sistema ha tentato di usare un dispositivo attraverso il
+ file specificato, ma non lo ha trovato. Può significare che il file di
+ dispositivo non è corretto, che il modulo relativo non è stato caricato nel
+ kernel, o che il dispositivo è fisicamente assente o non funzionante.
+\item \errcode{ENOEXEC} \textit{Invalid executable file format}. Il file non ha
+ un formato eseguibile, è un errore riscontrato dalle funzioni \func{exec}.
+\item \errcode{EBADF} \textit{Bad file descriptor}. File descriptor non valido:
+ si è usato un file descriptor inesistente, o aperto in sola lettura per
+ scrivere, o viceversa, o si è cercato di eseguire un'operazione non
+ consentita per quel tipo di file descriptor.
+\item \errcode{EACCES} \textit{Permission denied}. Permesso negato; l'accesso
+ al file o alla directory non è consentito: i permessi del file o della
+ directory non consentono l'operazione richiesta.
+\item \errcode{ELOOP} \textit{Too many symbolic links encountered}. Ci sono
+ troppi link simbolici nella risoluzione di un
+ \itindex{pathname}\textit{pathname}.
+\item \errcode{ENAMETOOLONG} \textit{File name too long}. Si è indicato un
+ \itindex{pathname} \textit{pathname} troppo lungo per un file o una
+ directory.
+\item \errcode{ENOTBLK} \textit{Block device required}. Si è specificato un
+ file che non è un \textit{block device} in un contesto in cui era necessario
+ specificare un \textit{block device} (ad esempio si è tentato di montare un
+ file ordinario).
+\item \errcode{EEXIST} \textit{File exists}. Si è specificato un file esistente
+ in un contesto in cui ha senso solo specificare un nuovo file.
+\item \errcode{EBUSY} \textit{Resource busy}. Una risorsa di sistema che non
+ può essere condivisa è occupata. Ad esempio si è tentato di cancellare la
+ directory su cui si è montato un filesystem.
+\item \errcode{EXDEV} \textit{Cross-device link}. Si è tentato di creare un
+ link diretto che attraversa due filesystem differenti.
+\item \errcode{ENODEV} \textit{No such device}. Si è indicato un tipo di device
+ sbagliato ad una funzione che ne richiede uno specifico.
+\item \errcode{ENOTDIR} \textit{Not a directory}. Si è specificato un file che
+ non è una directory in una operazione che richiede una directory.
+\item \errcode{EISDIR} \textit{Is a directory}. Il file specificato è una
+ directory; non può essere aperto in scrittura, né si possono creare o
+ rimuovere link diretti ad essa.
+\item \errcode{EMFILE} \textit{Too many open files}. Il processo corrente ha
+ troppi file aperti e non può aprirne altri. Anche i descrittori duplicati ed
+ i socket vengono tenuti in conto.\footnote{il numero massimo di file aperti
+ è controllabile dal sistema; in Linux si può impostare usando il comando
+ \cmd{ulimit}, esso è in genere indicato dalla costante \const{OPEN\_MAX},
+ vedi sez.~\ref{sec:sys_limits}.}
+\item \errcode{ENFILE} \textit{File table overflow}. Il sistema ha troppi file
+ aperti in contemporanea. Si tenga presente che anche i socket contano come
+ file. Questa è una condizione temporanea, ed è molto difficile che si
+ verifichi nei sistemi moderni.
+\item \errcode{ENOTTY} \textit{Not a terminal}. Si è tentata una operazione di
+ controllo relativa ad un terminale su un file che non lo è.
+\item \errcode{ETXTBSY} \textit{Text file busy}. Si è cercato di eseguire un
+ file che è aperto in scrittura, o di scrivere su un file che è in
+ esecuzione.
+\item \errcode{EFBIG} \textit{File too big}. Si è ecceduto il limite imposto
+ dal sistema sulla dimensione massima che un file può avere.
+\item \errcode{ENOSPC} \textit{No space left on device}. La directory in cui si
+ vuole creare il link non ha spazio per ulteriori voci, o si è cercato di
+ scrivere o di creare un nuovo file su un dispositivo che è già pieno.
+\item \errcode{ESPIPE} \textit{Invalid seek operation}. Si cercato di eseguire
+ una \func{seek} su un file che non supporta questa operazione (ad esempio su
+ una pipe).
+\item \errcode{EROFS} \textit{Read-only file system}. Si è cercato di
+ eseguire una operazione di scrittura su un file o una directory che risiede
+ su un filesystem montato un sola lettura.
+\item \errcode{EMLINK} \textit{Too many links}. Ci sono già troppi link al
+ file (il numero massimo è specificato dalla variabile \const{LINK\_MAX},
+ vedi sez.~\ref{sec:sys_limits}).
+\item \errcode{EPIPE} \textit{Broken pipe}. Non c'è un processo che stia
+ leggendo l'altro capo della pipe. Ogni funzione che restituisce questo
+ errore genera anche un segnale \const{SIGPIPE}, la cui azione predefinita è
+ terminare il programma; pertanto non si potrà vedere questo errore fintanto
+ che \const{SIGPIPE} non viene gestito o bloccato.
+\item \errcode{ENOTEMPTY} \textit{Directory not empty}. La directory non è
+ vuota quando l'operazione richiede che lo sia. È l'errore tipico che si ha
+ quando si cerca di cancellare una directory contenente dei file.
+\item \errcode{EUSERS} \textit{Too many users}. Troppi utenti, il sistema delle
+ quote rileva troppi utenti nel sistema.
+\item \errcode{EDQUOT} \textit{Quota exceeded}. Si è ecceduta la quota di disco
+ dell'utente.
+\item \errcode{ESTALE} \textit{Stale NFS file handle}. Indica un problema
+ interno a NFS causato da cambiamenti del filesystem del sistema remoto. Per
+ recuperare questa condizione in genere è necessario smontare e rimontare il
+ filesystem NFS.
+\item \errcode{EREMOTE} \textit{Object is remote}. Si è fatto un tentativo di
+ montare via NFS un filesystem remoto con un nome che già specifica un
+ filesystem montato via NFS.
+\item \errcode{ENOLCK} \textit{No locks available}. È usato dalle utilità per
+ la gestione del file locking; non viene generato da un sistema GNU, ma può
+ risultare da un'operazione su un server NFS di un altro sistema.
+\item \errcode{EFTYPE} \textit{Inappropriate file type or format}. Il file è
+ di tipo sbagliato rispetto all'operazione richiesta o un file di dati ha un
+ formato sbagliato. Alcuni sistemi restituiscono questo errore quando si
+ cerca di impostare lo \itindex{sticky~bit} \textit{sticky bit} su un file che
+ non è una directory.