1 /*
2  * Copyright (C) 2018-2022 Intel Corporation.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef ERRNO_H
8 #define ERRNO_H
9 
10 /** Indicates that operation not permitted. */
11 #define EPERM		1
12 /** Indicates that there is IO error. */
13 #define EIO		5
14 /** Indicates that not enough memory. */
15 #define ENOMEM		12
16 /** Indicates Permission denied */
17 #define EACCES		13
18 /** Indicates there is fault. */
19 #define EFAULT		14
20 /** Indicates that target is busy. */
21 #define EBUSY		16
22 /** Indicates that no such dev. */
23 #define ENODEV		19
24 /** Indicates that argument is not valid. */
25 #define EINVAL		22
26 /** Indicates the operation is undefined. */
27 #define ENOTTY		25
28 /** Indicates the operation is obsoleted. */
29 #define ENOSYS		38
30 /** Indicates that timeout occurs. */
31 #define ETIMEDOUT	110
32 
33 #endif /* ERRNO_H */
34