mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EFBIG.
This commit is contained in:
parent
25a988442e
commit
123eabd60a
2 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
||||||
#define EINIT 46
|
#define EINIT 46
|
||||||
#define ENODRV 47
|
#define ENODRV 47
|
||||||
#define E2BIG 48
|
#define E2BIG 48
|
||||||
|
#define EFBIG 49
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EINIT: return "Not initialized";
|
case EINIT: return "Not initialized";
|
||||||
case ENODRV: return "No such driver";
|
case ENODRV: return "No such driver";
|
||||||
case E2BIG: return "Argument list too long";
|
case E2BIG: return "Argument list too long";
|
||||||
|
case EFBIG: return "File too large";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue