/* * (C) Copyright 2018 Leo C. * * 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 */