Add ENOGROUP.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-10-02 23:55:39 +02:00
parent dd269e9d51
commit 69f2a3ef91
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ __BEGIN_DECLS
#define EPROTOTYPE 83
#define ENOLCK 84
#define ENOUSER 85
#define ENOGROUP 86
#define EOPNOTSUPP ENOTSUP

View File

@ -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";
}
}