mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ELOOP.
This commit is contained in:
parent
1e2785b17f
commit
6c9852c21f
2 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
||||||
#define EXDEV 50
|
#define EXDEV 50
|
||||||
#define ESPIPE 51
|
#define ESPIPE 51
|
||||||
#define ENAMETOOLONG 52
|
#define ENAMETOOLONG 52
|
||||||
|
#define ELOOP 53
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EXDEV: return "Improper link";
|
case EXDEV: return "Improper link";
|
||||||
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";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue