Add ESTALE.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-06-23 19:06:43 +02:00
parent 60895a127e
commit 53aa659743
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ __BEGIN_DECLS
#define ENOUSER 85
#define ENOGROUP 86
#define ESIGPENDING 87
#define ESTALE 88
#define EOPNOTSUPP ENOTSUP

View File

@ -106,6 +106,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENOUSER: return "No such user";
case ENOGROUP: return "No such group";
case ESIGPENDING: return "Signal is already pending";
case ESTALE: return "Stale file handle";
default: return "Unknown error condition";
}
}