mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ESIGPENDING.
This commit is contained in:
parent
28d3b1245f
commit
f1f272390b
2 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,7 @@ __BEGIN_DECLS
|
||||||
#define ENOLCK 84
|
#define ENOLCK 84
|
||||||
#define ENOUSER 85
|
#define ENOUSER 85
|
||||||
#define ENOGROUP 86
|
#define ENOGROUP 86
|
||||||
|
#define ESIGPENDING 87
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -105,6 +105,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case ENOLCK: return "No locks available";
|
case ENOLCK: return "No locks available";
|
||||||
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";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue