mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 14:09:12 +00:00
Make stdin pollable on Windows
You can now play Super Mario Bros in CMD.EXE using Cosmopolitan! This is thanks to a new worker thread that's spawned on Windows whenever any one of poll(), select(), or ioctl(FIONREAD) is linked.
This commit is contained in:
parent
ef6387ee5e
commit
9c0821def7
15 changed files with 280 additions and 58 deletions
|
@ -7,7 +7,7 @@ bool isdirectory_nt(const char *);
|
|||
bool isregularfile_nt(const char *);
|
||||
bool issymlink_nt(const char *);
|
||||
bool32 ntsetprivilege(int64_t, const char16_t *, uint32_t);
|
||||
char16_t *CreatePipeName(char16_t *);
|
||||
char16_t *__create_pipe_name(char16_t *);
|
||||
int __mkntpath(const char *, char16_t[hasatleast PATH_MAX]);
|
||||
int __mkntpath2(const char *, char16_t[hasatleast PATH_MAX], int);
|
||||
int __mkntpathat(int, const char *, int, char16_t[hasatleast PATH_MAX]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue