coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
errno.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-4-Clause-UC */
2
3
#ifndef _RISCV_ERRNO_BASE_H
4
#define _RISCV_ERRNO_BASE_H
5
6
#define EPERM 1
/* Operation not permitted */
7
#define ENOENT 2
/* No such file or directory */
8
#define ESRCH 3
/* No such process */
9
#define EINTR 4
/* Interrupted system call */
10
#define EIO 5
/* I/O error */
11
#define ENXIO 6
/* No such device or address */
12
#define E2BIG 7
/* Argument list too long */
13
#define ENOEXEC 8
/* Exec format error */
14
#define EBADF 9
/* Bad file number */
15
#define ECHILD 10
/* No child processes */
16
#define EAGAIN 11
/* Try again */
17
#define ENOMEM 12
/* Out of memory */
18
#define EACCES 13
/* Permission denied */
19
#define EFAULT 14
/* Bad address */
20
#define ENOTBLK 15
/* Block device required */
21
#define EBUSY 16
/* Device or resource busy */
22
#define EEXIST 17
/* File exists */
23
#define EXDEV 18
/* Cross-device link */
24
#define ENODEV 19
/* No such device */
25
#define ENOTDIR 20
/* Not a directory */
26
#define EISDIR 21
/* Is a directory */
27
#define EINVAL 22
/* Invalid argument */
28
#define ENFILE 23
/* File table overflow */
29
#define EMFILE 24
/* Too many open files */
30
#define ENOTTY 25
/* Not a typewriter */
31
#define ETXTBSY 26
/* Text file busy */
32
#define EFBIG 27
/* File too large */
33
#define ENOSPC 28
/* No space left on device */
34
#define ESPIPE 29
/* Illegal seek */
35
#define EROFS 30
/* Read-only file system */
36
#define EMLINK 31
/* Too many links */
37
#define EPIPE 32
/* Broken pipe */
38
#define EDOM 33
/* Math argument out of domain of func */
39
#define ERANGE 34
/* Math result not representable */
40
41
#endif
src
arch
riscv
include
arch
errno.h
Generated by
1.9.1