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