The emulation uses a #define for
ioctl() so some obscure programs can fail to compile.
The emulation is incomplete.
The emulation only covers
ioctl(), there are other differences as well. E.g., on a write that would block in non-blocking mode Linux returns
EINTR whereas
NetBSD 1.3 returns
EAGAIN.