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