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

@@ -1,12 +1,11 @@
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_EXCEPTIONHANDLER_H_
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_EXCEPTIONHANDLER_H_
#include "libc/nt/struct/context.h"
#include "libc/nt/struct/exceptionframe.h"
#include "libc/nt/struct/ntexceptionrecord.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtExceptionFrame;
struct NtExceptionRecord;
struct NtContext;
typedef unsigned (*NtExceptionHandler)(struct NtExceptionRecord *,
struct NtExceptionFrame *,
struct NtContext *, void *);

View File

@@ -1,9 +1,8 @@
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
#include "libc/nt/struct/iostatusblock.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtIoStatusBlock;
typedef void (*NtIoApcRoutine)(void *ApcContext,
struct NtIoStatusBlock *IoStatusBlock,
uint32_t Reserved);