Remove more nonstandard stuff from cosmopolitan.h

Fixes #61
This commit is contained in:
Justine Tunney 2021-02-28 23:42:35 -08:00
parent 5e069a64d4
commit d932948fb4
954 changed files with 1095 additions and 1342 deletions

View file

@ -42,7 +42,7 @@ FILE *fdopen(int fd, const char *mode) {
f->size = BUFSIZ;
if ((f->buf = valloc(f->size))) {
if ((f->iomode & O_ACCMODE) != O_RDONLY) {
_fflushregister(f);
__fflush_register(f);
}
return f;
}