mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ESTALE.
This commit is contained in:
parent
60895a127e
commit
53aa659743
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue