Add EPROTONOSUPPORT.
This commit is contained in:
parent
971fc090b6
commit
c7d833686a
|
@ -45,6 +45,7 @@
|
||||||
#define ELOOP 53
|
#define ELOOP 53
|
||||||
#define EMLINK 54
|
#define EMLINK 54
|
||||||
#define ENXIO 55
|
#define ENXIO 55
|
||||||
|
#define EPROTONOSUPPORT 56
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#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.
|
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 ELOOP: return "Too many levels of symbolic links";
|
||||||
case EMLINK: return "Too many links";
|
case EMLINK: return "Too many links";
|
||||||
case ENXIO: return "No such device or address";
|
case ENXIO: return "No such device or address";
|
||||||
|
case EPROTONOSUPPORT: return "Protocol not supported";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue