Add ENOUSER.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-10-02 23:54:13 +02:00
parent 396765eaba
commit dd269e9d51
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ __BEGIN_DECLS
#define ENFILE 82
#define EPROTOTYPE 83
#define ENOLCK 84
#define ENOUSER 85
#define EOPNOTSUPP ENOTSUP

View File

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