Xen Test Framework
include
xen
errno.h
Go to the documentation of this file.
1
#ifndef __XEN_PUBLIC_ERRNO_H__
2
#define __XEN_PUBLIC_ERRNO_H__
3
4
/*
5
* Values originating from x86 Linux. Please consider using respective
6
* values when adding new definitions here.
7
*
8
* The set of identifiers to be added here shouldn't extend beyond what
9
* POSIX mandates (see e.g.
10
* https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html)
11
* with the exception that we support some optional (XSR) values
12
* specified there (but no new ones should be added).
13
*/
14
15
#define EPERM 1
/* Operation not permitted */
16
#define ENOENT 2
/* No such file or directory */
17
#define ESRCH 3
/* No such process */
18
#define EINTR 4
/* Interrupted system call */
19
#define EIO 5
/* I/O error */
20
#define ENXIO 6
/* No such device or address */
21
#define E2BIG 7
/* Arg list too long */
22
#define ENOEXEC 8
/* Exec format error */
23
#define EBADF 9
/* Bad file number */
24
#define ECHILD 10
/* No child processes */
25
#define EAGAIN 11
/* Try again */
26
#define ENOMEM 12
/* Out of memory */
27
#define EACCES 13
/* Permission denied */
28
#define EFAULT 14
/* Bad address */
29
#define EBUSY 16
/* Device or resource busy */
30
#define EEXIST 17
/* File exists */
31
#define EXDEV 18
/* Cross-device link */
32
#define ENODEV 19
/* No such device */
33
#define EINVAL 22
/* Invalid argument */
34
#define ENFILE 23
/* File table overflow */
35
#define EMFILE 24
/* Too many open files */
36
#define ENOSPC 28
/* No space left on device */
37
#define EMLINK 31
/* Too many links */
38
#define EDOM 33
/* Math argument out of domain of func */
39
#define ERANGE 34
/* Math result not representable */
40
#define EDEADLK 35
/* Resource deadlock would occur */
41
#define ENAMETOOLONG 36
/* File name too long */
42
#define ENOLCK 37
/* No record locks available */
43
#define ENOSYS 38
/* Function not implemented */
44
#define ENODATA 61
/* No data available */
45
#define ETIME 62
/* Timer expired */
46
#define EBADMSG 74
/* Not a data message */
47
#define EOVERFLOW 75
/* Value too large for defined data type */
48
#define EILSEQ 84
/* Illegal byte sequence */
49
#define ERESTART 85
/* Interrupted system call should be restarted */
50
#define ENOTSOCK 88
/* Socket operation on non-socket */
51
#define EOPNOTSUPP 95
/* Operation not supported on transport endpoint */
52
#define EADDRINUSE 98
/* Address already in use */
53
#define EADDRNOTAVAIL 99
/* Cannot assign requested address */
54
#define ENOBUFS 105
/* No buffer space available */
55
#define EISCONN 106
/* Transport endpoint is already connected */
56
#define ENOTCONN 107
/* Transport endpoint is not connected */
57
#define ETIMEDOUT 110
/* Connection timed out */
58
59
#endif
/* __XEN_PUBLIC_ERRNO_H__ */
60
61
/*
62
* Local variables:
63
* mode: C
64
* c-file-style: "BSD"
65
* c-basic-offset: 4
66
* tab-width: 4
67
* indent-tabs-mode: nil
68
* End:
69
*/
Generated by
1.9.4