blob: 5faa65cc01fe657d96cb5ac64b5fc23d6878ecc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* (C) Copyright 2018 Leo C. <erbl259-lmu@yahoo.de>
*
* SPDX-License-Identifier: GPL-2.0
*/
#ifndef ERRNUM_H
#define ERRNUM_H
#include "errnum.h"
typedef enum {
ESUCCESS = 0,
// Unknown error
ENOMEM = 101, // Not enough memory
EINTR, // Interrupt
EBUSTO, // Bus timeout
EUNEXPARG, // Unexpected argument
EATRANGE, // Invalid disk number
EATALRDY, // Disk already attached
EATNOT, // Disk not attached
EATOPEN, // Error opening file
EATOTHER, // File already attached to other drive
ERUNNING, // CPU is running
EINVAL, // Invalid argument
EEOF, // Unexpected EOF
} ERRNUM;
#endif /* ERRNUM_H */
|