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:
@@ -20,7 +20,7 @@
|
||||
#include "libc/calls/internal.h"
|
||||
|
||||
enum FdKind fdkind(int fd) {
|
||||
if (isfdindex(fd)) {
|
||||
if (0 <= fd && fd <= g_fds.n) {
|
||||
return g_fds.p[fd].kind;
|
||||
} else {
|
||||
return kFdEmpty;
|
||||
|
||||
Reference in New Issue
Block a user