Added EOPNOTSUPP and better error handling in accept.

This commit is contained in:
Philip Homburg
2006-09-14 13:48:41 +00:00
parent c39a693274
commit d24a880003
3 changed files with 23 additions and 6 deletions
+1
View File
@@ -85,6 +85,7 @@ const char *_sys_errlist[] = {
"Message too long", /* EMSGSIZE */
"Socket operation on non-socket", /* ENOTSOCK */
"Protocol not available", /* ENOPROTOOPT */
"Operation not supported", /* EOPNOTSUPP */
};
const int _sys_nerr = sizeof(_sys_errlist) / sizeof(_sys_errlist[0]);