Improve _error_string for Linux

This commit is contained in:
gingerBill
2024-08-04 13:25:35 +01:00
parent 0c5b645dde
commit 3d992e2704
3 changed files with 167 additions and 24 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ package os2
import "core:sys/linux"
@(rodata)
_errno_strings : [linux.Error]string = {
.NONE = "Success",
_errno_strings := [linux.Error]string{
.NONE = "",
.EPERM = "Operation not permitted",
.ENOENT = "No such file or directory",
.ESRCH = "No such process",