mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EPROTONOSUPPORT.
This commit is contained in:
parent
971fc090b6
commit
c7d833686a
2 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,7 @@
|
|||
#define ELOOP 53
|
||||
#define EMLINK 54
|
||||
#define ENXIO 55
|
||||
#define EPROTONOSUPPORT 56
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012.
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013.
|
||||
|
||||
This file is part of the Sortix C Library.
|
||||
|
||||
|
@ -74,6 +74,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ELOOP: return "Too many levels of symbolic links";
|
||||
case EMLINK: return "Too many links";
|
||||
case ENXIO: return "No such device or address";
|
||||
case EPROTONOSUPPORT: return "Protocol not supported";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue