Add ENAMETOOLONG.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-01-05 15:06:22 +01:00
parent 4627031f44
commit 1e2785b17f
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@
#define EFBIG 49
#define EXDEV 50
#define ESPIPE 51
#define ENAMETOOLONG 52
#define EOPNOTSUPP ENOTSUP

View File

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