libc_noux: silence common not implemented warnings

This commit is contained in:
Josef Söntgen 2018-02-15 12:50:24 +01:00 committed by Norman Feske
parent dd73cf9baf
commit f8376e1f49
1 changed files with 7 additions and 1 deletions

View File

@ -376,7 +376,6 @@ extern "C" int getrlimit(int resource, struct rlimit *rlim)
return 0; return 0;
} }
errno = ENOSYS; errno = ENOSYS;
warning(__func__, " not implemented (resource=", resource, ")");
return -1; return -1;
} }
@ -1418,6 +1417,13 @@ namespace {
break; break;
} }
case TIOCSETA:
{
/* not implemented but used by e.g. vim */
break;
}
default: default:
warning("unsupported ioctl (request=", Hex(request), ")"); warning("unsupported ioctl (request=", Hex(request), ")");