Improve _error_string for Linux
This commit is contained in:
1 parent
0c5b645dde
commit
3d992e2704
3 files changed
+167
-24
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user