mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EMLINK.
This commit is contained in:
parent
6c9852c21f
commit
517025f474
2 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
||||||
#define ESPIPE 51
|
#define ESPIPE 51
|
||||||
#define ENAMETOOLONG 52
|
#define ENAMETOOLONG 52
|
||||||
#define ELOOP 53
|
#define ELOOP 53
|
||||||
|
#define EMLINK 54
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case ESPIPE: return "Cannot seek on stream";
|
case ESPIPE: return "Cannot seek on stream";
|
||||||
case ENAMETOOLONG: return "Filename too long";
|
case ENAMETOOLONG: return "Filename too long";
|
||||||
case ELOOP: return "Too many levels of symbolic links";
|
case ELOOP: return "Too many levels of symbolic links";
|
||||||
|
case EMLINK: return "Too many links";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue