Add epoll and do more release readiness changes

This change also pays off some of the remaining technical debt with
stdio, file descriptors, and memory managemnt polyfills.
This commit is contained in:
Justine Tunney 2020-11-28 12:01:51 -08:00
parent a9ea949df8
commit 3e4fd4b0ad
271 changed files with 5706 additions and 1365 deletions

View file

@ -48,7 +48,7 @@ int bind(int fd, const void *addr, uint32_t addrsize) {
sockaddr2bsd(&addr2);
return bind$sysv(fd, &addr2, addrsize);
}
} else if (isfdkind(fd, kFdSocket)) {
} else if (__isfdkind(fd, kFdSocket)) {
return bind$nt(&g_fds.p[fd], addr, addrsize);
} else {
return ebadf();