Files
mop3/libu/str_status.h
kamkow1 d712604e4f
Some checks failed
Build ISO image / build-and-deploy (push) Failing after 12s
Build documentation / build-and-deploy (push) Successful in 35s
Use custom Limine build
2026-04-23 19:38:32 +02:00

37 lines
1.3 KiB
C

#ifndef _LIBSYSTEM_STR_STATUS_H
#define _LIBSYSTEM_STR_STATUS_H
#include <status.h>
static const char* str_status[] = {
[ST_OK] = "ok",
[ST_SYSCALL_NOT_FOUND] = "syscall not found",
[ST_UNALIGNED] = "alignment error",
[ST_OOM_ERROR] = "out of memory",
[ST_NOT_FOUND] = "not found",
[ST_BAD_ADDRESS_SPACE] = "pointer outside of virtual address space",
[ST_PERMISSION_ERROR] = "permission error",
[ST_BAD_RESOURCE] = "invalid resource",
[ST_BAD_DEVICE_OP] = "bad device operation",
[ST_EXISTS] = "already exists",
[ST_OOB_ERROR] = "out of bounds access",
[ST_BAD_PATH] = "path parsing error",
[ST_EXEC_ERROR] = "exec error",
[ST_MOUNT_ERROR] = "mount error",
[ST_TRY_AGAIN] = "try again",
[ST_NOT_DIR] = "not a directory",
[ST_DIR_NO_ENTRIES] = "empty directory",
[ST_FORMAT_ERROR] = "filesystem formatting error",
[ST_NOT_DRV] = "not a drive device",
[ST_PARTITION_ERROR] = "partition error",
[ST_CREATE_DIR_ERROR] = "directory creation error",
[ST_REMOVE_ERROR] = "remove error",
[ST_XDRV_READ_ERROR] = "drive read error",
[ST_XDRV_WRITE_ERROR] = "drive write error",
[ST_NOT_PARTIAL] = "not a partially created process",
[ST_USB_CTRL_ERROR] = "USB controller error",
[ST_IO_ERROR] = "I/O Error",
};
#endif // _LIBSYSTEM_STR_STATUS_H