From 700b1ec4b4f67f70fe44ac48f13655375dbffe39 Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Fri, 25 Sep 2026 16:08:22 +0200 Subject: [PATCH] add EEXIST to errno.h --- kernel/include/errno.h | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/kernel/include/errno.h b/kernel/include/errno.h index aa6bc47..cee8e0f 100644 --- a/kernel/include/errno.h +++ b/kernel/include/errno.h @@ -13,23 +13,24 @@ // TODO: Add correct errno.h numbers enum { SUCCESS = 0, - ENOMEM, // Cannot allocate memory - EPERM, // Operation not permitted - ENOENT, // No entry (no such file or directory) - EIO, // Input/Output error - ENXIO, // No such device or address - EAGAIN, // Resource temporarly busy - EACCES, // Permission denied - EFAULT, // Bad address - ENODEV, // No such device - EINVAL, // Invalid argument - EDOM, // Numerical argument out of domain - ERANGE, // Numerical result out of range - ENOSYS, // Function not implemented - ENOTSUP, // Not supported - EILLSEQ, // Illegal byte sequence - EOVERFLOW, // - EALIGN, // Not aligned + ENOMEM, // Cannot allocate memory + EPERM, // Operation not permitted + ENOENT, // No entry (no such file or directory) + EIO, // Input/Output error + ENXIO, // No such device or address + EAGAIN, // Resource temporarly busy + EACCES, // Permission denied + EFAULT, // Bad address + ENODEV, // No such device + EINVAL, // Invalid argument + EDOM, // Numerical argument out of domain + ERANGE, // Numerical result out of range + ENOSYS, // Function not implemented + ENOTSUP, // Not supported + EILLSEQ, // Illegal byte sequence + EOVERFLOW, // + EALIGN, // Not aligned + EEXIST, // already exists }; #endif