mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Improve _error_string for Linux
This commit is contained in:
@@ -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