Add ENOGROUP.
This commit is contained in:
parent
dd269e9d51
commit
69f2a3ef91
|
@ -103,6 +103,7 @@ __BEGIN_DECLS
|
||||||
#define EPROTOTYPE 83
|
#define EPROTOTYPE 83
|
||||||
#define ENOLCK 84
|
#define ENOLCK 84
|
||||||
#define ENOUSER 85
|
#define ENOUSER 85
|
||||||
|
#define ENOGROUP 86
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EPROTOTYPE: return "Wrong protocol type for socket";
|
case EPROTOTYPE: return "Wrong protocol type for socket";
|
||||||
case ENOLCK: return "No locks available";
|
case ENOLCK: return "No locks available";
|
||||||
case ENOUSER: return "No such user";
|
case ENOUSER: return "No such user";
|
||||||
|
case ENOGROUP: return "No such group";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue