summaryrefslogtreecommitdiff
path: root/include/errnum.h
blob: eac3e429553112962f8459a58a2c284e3816dbdf (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
31
/*
 * (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
    EFULL                   // Disk full

} ERRNUM;

#endif /* ERRNUM_H */