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