errno.h(3)                 POSIX Programmer's Manual                errno.h(3)



PPRROOLLOOGG
       This manual page is part of the POSIX Programmer's Manual.  The OS
       implementation of this interface may differ (consult the corresponding
       OS manual page for details of OS behavior), or the interface may not be
       implemented on OS.


NNAAMMEE
       errno.h -- system error numbers

SSYYNNOOPPSSIISS
       #include <errno.h>

DDEESSCCRRIIPPTTIIOONN
       Some of the functionality described on this reference page extends the
       ISO C standard. Any conflict between the requirements described here
       and the ISO C standard is unintentional. This volume of POSIX.1-2008
       defers to the ISO C standard.

       The ISO C standard only requires the symbols [[EEDDOOMM]], [[EEIILLSSEEQQ]], and
       [[EERRAANNGGEE]] to be defined.

       The _<_e_r_r_n_o_._h_> header shall provide a declaration or definition for
       _e_r_r_n_o.  The symbol _e_r_r_n_o shall expand to a modifiable lvalue of type
       iinntt.  It is unspecified whether _e_r_r_n_o is a macro or an identifier
       declared with external linkage. If a macro definition is suppressed in
       order to access an actual object, or a program defines an identifier
       with the name _e_r_r_n_o, the behavior is undefined.

       The _<_e_r_r_n_o_._h_> header shall define the following macros which shall
       expand to integer constant expressions with type iinntt, distinct positive
       values (except as noted below), and which shall be suitable for use in
       ##iiff preprocessing directives:

       EE22BBIIGG  Argument list too long.

       EEAACCCCEESS Permission denied.

       EEAADDDDRRIINNUUSSEE
              Address in use.

       EEAADDDDRRNNOOTTAAVVAAIILL
              Address not available.

       EEAAFFNNOOSSUUPPPPOORRTT
              Address family not supported.

       EEAAGGAAIINN Resource unavailable, try again (may be the same value as
              [[EEWWOOUULLDDBBLLOOCCKK]]).

       EEAALLRREEAADDYY
              Connection already in progress.

       EEBBAADDFF  Bad file descriptor.

       EEBBAADDMMSSGG
              Bad message.

       EEBBUUSSYY  Device or resource busy.

       EECCAANNCCEELLEEDD
              Operation canceled.

       EECCHHIILLDD No child processes.

       EECCOONNNNAABBOORRTTEEDD
              Connection aborted.

       EECCOONNNNRREEFFUUSSEEDD
              Connection refused.

       EECCOONNNNRREESSEETT
              Connection reset.

       EEDDEEAADDLLKK
              Resource deadlock would occur.

       EEDDEESSTTAADDDDRRRREEQQ
              Destination address required.

       EEDDOOMM   Mathematics argument out of domain of function.

       EEDDQQUUOOTT Reserved.

       EEEEXXIISSTT File exists.

       EEFFAAUULLTT Bad address.

       EEFFBBIIGG  File too large.

       EEHHOOSSTTUUNNRREEAACCHH
              Host is unreachable.

       EEIIDDRRMM  Identifier removed.

       EEIILLSSEEQQ Illegal byte sequence.

       EEIINNPPRROOGGRREESSSS
              Operation in progress.

       EEIINNTTRR  Interrupted function.

       EEIINNVVAALL Invalid argument.

       EEIIOO    I/O error.

       EEIISSCCOONNNN
              Socket is connected.

       EEIISSDDIIRR Is a directory.

       EELLOOOOPP  Too many levels of symbolic links.

       EEMMFFIILLEE File descriptor value too large.

       EEMMLLIINNKK Too many links.

       EEMMSSGGSSIIZZEE
              Message too large.

       EEMMUULLTTIIHHOOPP
              Reserved.

       EENNAAMMEETTOOOOLLOONNGG
              Filename too long.

       EENNEETTDDOOWWNN
              Network is down.

       EENNEETTRREESSEETT
              Connection aborted by network.

       EENNEETTUUNNRREEAACCHH
              Network unreachable.

       EENNFFIILLEE Too many files open in system.

       EENNOOBBUUFFSS
              No buffer space available.

       EENNOODDAATTAA
              No message is available on the STREAM head read queue.

       EENNOODDEEVV No such device.

       EENNOOEENNTT No such file or directory.

       EENNOOEEXXEECC
              Executable file format error.

       EENNOOLLCCKK No locks available.

       EENNOOLLIINNKK
              Reserved.

       EENNOOMMEEMM Not enough space.

       EENNOOMMSSGG No message of the desired type.

       EENNOOPPRROOTTOOOOPPTT
              Protocol not available.

       EENNOOSSPPCC No space left on device.

       EENNOOSSRR  No STREAM resources.

       EENNOOSSTTRR Not a STREAM.

       EENNOOSSYYSS Function not supported.

       EENNOOTTCCOONNNN
              The socket is not connected.

       EENNOOTTDDIIRR
              Not a directory or a symbolic link to a directory.

       EENNOOTTEEMMPPTTYY
              Directory not empty.

       EENNOOTTRREECCOOVVEERRAABBLLEE
              State not recoverable.

       EENNOOTTSSOOCCKK
              Not a socket.

       EENNOOTTSSUUPP
              Not supported (may be the same value as [[EEOOPPNNOOTTSSUUPPPP]]).

       EENNOOTTTTYY Inappropriate I/O control operation.

       EENNXXIIOO  No such device or address.

       EEOOPPNNOOTTSSUUPPPP
              Operation not supported on socket (may be the same value as
              [[EENNOOTTSSUUPP]]).

       EEOOVVEERRFFLLOOWW
              Value too large to be stored in data type.

       EEOOWWNNEERRDDEEAADD
              Previous owner died.

       EEPPEERRMM  Operation not permitted.

       EEPPIIPPEE  Broken pipe.

       EEPPRROOTTOO Protocol error.

       EEPPRROOTTOONNOOSSUUPPPPOORRTT
              Protocol not supported.

       EEPPRROOTTOOTTYYPPEE
              Protocol wrong type for socket.

       EERRAANNGGEE Result too large.

       EERROOFFSS  Read-only file system.

       EESSPPIIPPEE Invalid seek.

       EESSRRCCHH  No such process.

       EESSTTAALLEE Reserved.

       EETTIIMMEE  Stream _i_o_c_t_l() timeout.

       EETTIIMMEEDDOOUUTT
              Connection timed out.

       EETTXXTTBBSSYY
              Text file busy.

       EEWWOOUULLDDBBLLOOCCKK
              Operation would block (may be the same value as [[EEAAGGAAIINN]]).

       EEXXDDEEVV  Cross-device link.

       _T_h_e _f_o_l_l_o_w_i_n_g _s_e_c_t_i_o_n_s _a_r_e _i_n_f_o_r_m_a_t_i_v_e_.

AAPPPPLLIICCAATTIIOONN UUSSAAGGEE
       Additional error numbers may be defined on conforming systems; see the
       System Interfaces volume of POSIX.1-2008.

RRAATTIIOONNAALLEE
       None.

FFUUTTUURREE DDIIRREECCTTIIOONNSS
       None.

SSEEEE AALLSSOO
       The System Interfaces volume of POSIX.1-2008, _S_e_c_t_i_o_n _2_._3, _E_r_r_o_r
       _N_u_m_b_e_r_s

CCOOPPYYRRIIGGHHTT
       Portions of this text are reprinted and reproduced in electronic form
       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
       -- Portable Operating System Interface (POSIX), The Open Group Base
       Specifications Issue 7, Copyright (C) 2013 by the Institute of
       Electrical and Electronics Engineers, Inc and The Open Group.  (This is
       POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
       event of any discrepancy between this version and the original IEEE and
       The Open Group Standard, the original IEEE and The Open Group Standard
       is the referee document. The original Standard can be obtained online
       at http://www.unix.org/online.html .

       Any typographical or formatting errors that appear in this page are
       most likely to have been introduced during the conversion of the source
       files to man page format. To report such errors, see
       https://www.kernel.org/doc/man-pages/reporting_bugs.html .



IEEE/The Open Group                  2013                           errno.h(3)
