ReactOS  0.4.14-dev-608-gd495a4f
errno.h File Reference
#include <crtdefs.h>
Include dependency graph for errno.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _CRT_ERRNO_DEFINED
 
#define errno   (*_errno())
 
#define EPERM   1
 
#define ENOENT   2
 
#define ESRCH   3
 
#define EINTR   4
 
#define EIO   5
 
#define ENXIO   6
 
#define E2BIG   7
 
#define ENOEXEC   8
 
#define EBADF   9
 
#define ECHILD   10
 
#define EAGAIN   11
 
#define ENOMEM   12
 
#define EACCES   13
 
#define EFAULT   14
 
#define EBUSY   16
 
#define EEXIST   17
 
#define EXDEV   18
 
#define ENODEV   19
 
#define ENOTDIR   20
 
#define EISDIR   21
 
#define ENFILE   23
 
#define EMFILE   24
 
#define ENOTTY   25
 
#define EFBIG   27
 
#define ENOSPC   28
 
#define ESPIPE   29
 
#define EROFS   30
 
#define EMLINK   31
 
#define EPIPE   32
 
#define EDOM   33
 
#define EDEADLK   36
 
#define ENAMETOOLONG   38
 
#define ENOLCK   39
 
#define ENOSYS   40
 
#define ENOTEMPTY   41
 
#define EADDRINUSE   100
 
#define EADDRNOTAVAIL   101
 
#define EAFNOSUPPORT   102
 
#define EALREADY   103
 
#define EBADMSG   104
 
#define ECANCELED   105
 
#define ECONNABORTED   106
 
#define ECONNREFUSED   107
 
#define ECONNRESET   108
 
#define EDESTADDRREQ   109
 
#define EHOSTUNREACH   110
 
#define EIDRM   111
 
#define EINPROGRESS   112
 
#define EISCONN   113
 
#define ELOOP   114
 
#define EMSGSIZE   115
 
#define ENETDOWN   116
 
#define ENETRESET   117
 
#define ENETUNREACH   118
 
#define ENOBUFS   119
 
#define ENODATA   120
 
#define ENOLINK   121
 
#define ENOMSG   122
 
#define ENOPROTOOPT   123
 
#define ENOSR   124
 
#define ENOSTR   125
 
#define ENOTCONN   126
 
#define ENOTRECOVERABLE   127
 
#define ENOTSOCK   128
 
#define ENOTSUP   129
 
#define EOPNOTSUPP   130
 
#define EOTHER   131
 
#define EOVERFLOW   132
 
#define EOWNERDEAD   133
 
#define EPROTO   134
 
#define EPROTONOSUPPORT   135
 
#define EPROTOTYPE   136
 
#define ETIME   137
 
#define ETIMEDOUT   138
 
#define ETXTBSY   139
 
#define EWOULDBLOCK   140
 
#define _SECURECRT_ERRCODE_VALUES_DEFINED
 
#define EINVAL   22
 
#define ERANGE   34
 
#define EILSEQ   42
 
#define STRUNCATE   80
 
#define EDEADLOCK   EDEADLK
 
#define EWOULDBLOCK   140
 

Functions

_CRTIMP int *__cdecl _errno (void)
 
errno_t __cdecl _set_errno (_In_ int _Value)
 
errno_t __cdecl _get_errno (_Out_ int *_Value)
 

Macro Definition Documentation

◆ _CRT_ERRNO_DEFINED

#define _CRT_ERRNO_DEFINED

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 16 of file errno.h.

◆ _SECURECRT_ERRCODE_VALUES_DEFINED

#define _SECURECRT_ERRCODE_VALUES_DEFINED

Definition at line 106 of file errno.h.

◆ E2BIG

#define E2BIG   7

Definition at line 30 of file errno.h.

◆ EACCES

#define EACCES   13

Definition at line 36 of file errno.h.

◆ EADDRINUSE

#define EADDRINUSE   100

Definition at line 61 of file errno.h.

◆ EADDRNOTAVAIL

#define EADDRNOTAVAIL   101

Definition at line 62 of file errno.h.

◆ EAFNOSUPPORT

#define EAFNOSUPPORT   102

Definition at line 63 of file errno.h.

◆ EAGAIN

#define EAGAIN   11

Definition at line 34 of file errno.h.

◆ EALREADY

#define EALREADY   103

Definition at line 64 of file errno.h.

◆ EBADF

#define EBADF   9

Definition at line 32 of file errno.h.

◆ EBADMSG

#define EBADMSG   104

Definition at line 65 of file errno.h.

◆ EBUSY

#define EBUSY   16

Definition at line 38 of file errno.h.

◆ ECANCELED

#define ECANCELED   105

Definition at line 66 of file errno.h.

◆ ECHILD

#define ECHILD   10

Definition at line 33 of file errno.h.

◆ ECONNABORTED

#define ECONNABORTED   106

Definition at line 67 of file errno.h.

◆ ECONNREFUSED

#define ECONNREFUSED   107

Definition at line 68 of file errno.h.

◆ ECONNRESET

#define ECONNRESET   108

Definition at line 69 of file errno.h.

◆ EDEADLK

#define EDEADLK   36

Definition at line 54 of file errno.h.

◆ EDEADLOCK

#define EDEADLOCK   EDEADLK

Definition at line 114 of file errno.h.

◆ EDESTADDRREQ

#define EDESTADDRREQ   109

Definition at line 70 of file errno.h.

◆ EDOM

#define EDOM   33

Definition at line 53 of file errno.h.

◆ EEXIST

#define EEXIST   17

Definition at line 39 of file errno.h.

◆ EFAULT

#define EFAULT   14

Definition at line 37 of file errno.h.

◆ EFBIG

#define EFBIG   27

Definition at line 47 of file errno.h.

◆ EHOSTUNREACH

#define EHOSTUNREACH   110

Definition at line 71 of file errno.h.

◆ EIDRM

#define EIDRM   111

Definition at line 72 of file errno.h.

◆ EILSEQ

#define EILSEQ   42

Definition at line 109 of file errno.h.

◆ EINPROGRESS

#define EINPROGRESS   112

Definition at line 73 of file errno.h.

◆ EINTR

#define EINTR   4

Definition at line 27 of file errno.h.

◆ EINVAL

#define EINVAL   22

Definition at line 107 of file errno.h.

◆ EIO

#define EIO   5

Definition at line 28 of file errno.h.

◆ EISCONN

#define EISCONN   113

Definition at line 74 of file errno.h.

◆ EISDIR

#define EISDIR   21

Definition at line 43 of file errno.h.

◆ ELOOP

#define ELOOP   114

Definition at line 75 of file errno.h.

◆ EMFILE

#define EMFILE   24

Definition at line 45 of file errno.h.

◆ EMLINK

#define EMLINK   31

Definition at line 51 of file errno.h.

◆ EMSGSIZE

#define EMSGSIZE   115

Definition at line 76 of file errno.h.

◆ ENAMETOOLONG

#define ENAMETOOLONG   38

Definition at line 55 of file errno.h.

◆ ENETDOWN

#define ENETDOWN   116

Definition at line 77 of file errno.h.

◆ ENETRESET

#define ENETRESET   117

Definition at line 78 of file errno.h.

◆ ENETUNREACH

#define ENETUNREACH   118

Definition at line 79 of file errno.h.

◆ ENFILE

#define ENFILE   23

Definition at line 44 of file errno.h.

◆ ENOBUFS

#define ENOBUFS   119

Definition at line 80 of file errno.h.

◆ ENODATA

#define ENODATA   120

Definition at line 81 of file errno.h.

◆ ENODEV

#define ENODEV   19

Definition at line 41 of file errno.h.

◆ ENOENT

#define ENOENT   2

Definition at line 25 of file errno.h.

◆ ENOEXEC

#define ENOEXEC   8

Definition at line 31 of file errno.h.

◆ ENOLCK

#define ENOLCK   39

Definition at line 56 of file errno.h.

◆ ENOLINK

#define ENOLINK   121

Definition at line 82 of file errno.h.

◆ ENOMEM

#define ENOMEM   12

Definition at line 35 of file errno.h.

◆ ENOMSG

#define ENOMSG   122

Definition at line 83 of file errno.h.

◆ ENOPROTOOPT

#define ENOPROTOOPT   123

Definition at line 84 of file errno.h.

◆ ENOSPC

#define ENOSPC   28

Definition at line 48 of file errno.h.

◆ ENOSR

#define ENOSR   124

Definition at line 85 of file errno.h.

◆ ENOSTR

#define ENOSTR   125

Definition at line 86 of file errno.h.

◆ ENOSYS

#define ENOSYS   40

Definition at line 57 of file errno.h.

◆ ENOTCONN

#define ENOTCONN   126

Definition at line 87 of file errno.h.

◆ ENOTDIR

#define ENOTDIR   20

Definition at line 42 of file errno.h.

◆ ENOTEMPTY

#define ENOTEMPTY   41

Definition at line 58 of file errno.h.

◆ ENOTRECOVERABLE

#define ENOTRECOVERABLE   127

Definition at line 88 of file errno.h.

◆ ENOTSOCK

#define ENOTSOCK   128

Definition at line 89 of file errno.h.

◆ ENOTSUP

#define ENOTSUP   129

Definition at line 90 of file errno.h.

◆ ENOTTY

#define ENOTTY   25

Definition at line 46 of file errno.h.

◆ ENXIO

#define ENXIO   6

Definition at line 29 of file errno.h.

◆ EOPNOTSUPP

#define EOPNOTSUPP   130

Definition at line 91 of file errno.h.

◆ EOTHER

#define EOTHER   131

Definition at line 92 of file errno.h.

◆ EOVERFLOW

#define EOVERFLOW   132

Definition at line 93 of file errno.h.

◆ EOWNERDEAD

#define EOWNERDEAD   133

Definition at line 94 of file errno.h.

◆ EPERM

#define EPERM   1

Definition at line 24 of file errno.h.

◆ EPIPE

#define EPIPE   32

Definition at line 52 of file errno.h.

◆ EPROTO

#define EPROTO   134

Definition at line 95 of file errno.h.

◆ EPROTONOSUPPORT

#define EPROTONOSUPPORT   135

Definition at line 96 of file errno.h.

◆ EPROTOTYPE

#define EPROTOTYPE   136

Definition at line 97 of file errno.h.

◆ ERANGE

#define ERANGE   34

Definition at line 108 of file errno.h.

◆ EROFS

#define EROFS   30

Definition at line 50 of file errno.h.

◆ errno

#define errno   (*_errno())

Definition at line 18 of file errno.h.

◆ ESPIPE

#define ESPIPE   29

Definition at line 49 of file errno.h.

◆ ESRCH

#define ESRCH   3

Definition at line 26 of file errno.h.

◆ ETIME

#define ETIME   137

Definition at line 98 of file errno.h.

◆ ETIMEDOUT

#define ETIMEDOUT   138

Definition at line 99 of file errno.h.

◆ ETXTBSY

#define ETXTBSY   139

Definition at line 100 of file errno.h.

◆ EWOULDBLOCK [1/2]

#define EWOULDBLOCK   140

Definition at line 116 of file errno.h.

◆ EWOULDBLOCK [2/2]

#define EWOULDBLOCK   140

Definition at line 116 of file errno.h.

◆ EXDEV

#define EXDEV   18

Definition at line 40 of file errno.h.

◆ STRUNCATE

#define STRUNCATE   80

Definition at line 110 of file errno.h.

Function Documentation

◆ _errno()

◆ _get_errno()

errno_t __cdecl _get_errno ( _Out_ int _Value)

◆ _set_errno()