2018-03-07 20:57:14 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
|
|
*
|
2018-05-26 01:49:13 +08:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2018-03-07 20:57:14 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ERRNO_H
|
|
|
|
#define ERRNO_H
|
|
|
|
|
2018-05-29 11:42:04 +08:00
|
|
|
/** Indicates that operation not permitted. */
|
|
|
|
#define EPERM 1
|
2018-03-07 20:57:14 +08:00
|
|
|
/** Indicates that there is IO error. */
|
2018-05-29 11:42:04 +08:00
|
|
|
#define EIO 5
|
|
|
|
/** Indicates that not enough memory. */
|
|
|
|
#define ENOMEM 12
|
|
|
|
/** Indicates Permission denied */
|
|
|
|
#define EACCES 13
|
2018-05-28 13:00:04 +08:00
|
|
|
/** Indicates there is fault. */
|
2018-05-29 11:42:04 +08:00
|
|
|
#define EFAULT 14
|
|
|
|
/** Indicates that target is busy. */
|
|
|
|
#define EBUSY 16
|
|
|
|
/** Indicates that no such dev. */
|
|
|
|
#define ENODEV 19
|
|
|
|
/** Indicates that argument is not valid. */
|
|
|
|
#define EINVAL 22
|
2018-03-07 20:57:14 +08:00
|
|
|
|
|
|
|
#endif /* ERRNO_H */
|