Add ESPIPE.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-01-29 22:34:54 +01:00
parent 7f99ccb36d
commit 4627031f44
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@
#define E2BIG 48
#define EFBIG 49
#define EXDEV 50
#define ESPIPE 51
#define EOPNOTSUPP ENOTSUP

View File

@ -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";
}
}