mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ENOUSER.
This commit is contained in:
parent
396765eaba
commit
dd269e9d51
2 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,7 @@ __BEGIN_DECLS
|
|||
#define ENFILE 82
|
||||
#define EPROTOTYPE 83
|
||||
#define ENOLCK 84
|
||||
#define ENOUSER 85
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ENFILE: return "Too many open files in system";
|
||||
case EPROTOTYPE: return "Wrong protocol type for socket";
|
||||
case ENOLCK: return "No locks available";
|
||||
case ENOUSER: return "No such user";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue