1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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 ENOUSER 85
#define ENOGROUP 86 #define ENOGROUP 86
#define ESIGPENDING 87 #define ESIGPENDING 87
#define ESTALE 88
#define EOPNOTSUPP ENOTSUP #define EOPNOTSUPP ENOTSUP

View file

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