mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ESPIPE.
This commit is contained in:
parent
7f99ccb36d
commit
4627031f44
2 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
#define E2BIG 48
|
||||
#define EFBIG 49
|
||||
#define EXDEV 50
|
||||
#define ESPIPE 51
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case E2BIG: return "Argument list too long";
|
||||
case EFBIG: return "File too large";
|
||||
case EXDEV: return "Improper link";
|
||||
case ESPIPE: return "Cannot seek on stream";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue