acrn-hypervisor/hypervisor/include/lib/errno.h
David B. Kinder f4122d99c5 license: Replace license text with SPDX tag
Replace the BSD-3-Clause boiler plate license text with an SPDX tag.

Fixes: #189

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2018-06-01 10:43:06 +08:00

28 lines
629 B
C

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ERRNO_H
#define ERRNO_H
/** Indicates that operation not permitted. */
#define EPERM 1
/** Indicates that there is IO error. */
#define EIO 5
/** Indicates that not enough memory. */
#define ENOMEM 12
/** Indicates Permission denied */
#define EACCES 13
/** Indicates there is fault. */
#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
#endif /* ERRNO_H */