Add EPROTONOSUPPORT.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-03-19 22:39:32 +01:00
parent 971fc090b6
commit c7d833686a
2 changed files with 3 additions and 1 deletions

View File

@ -45,6 +45,7 @@
#define ELOOP 53
#define EMLINK 54
#define ENXIO 55
#define EPROTONOSUPPORT 56
#define EOPNOTSUPP ENOTSUP

View File

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