cosmopolitan/test/libc/stdio
Justine Tunney 49b0eaa69f
Improve threading and i/o routines
- On Windows connect() can now be interrupted by a signal; connect() w/
  O_NONBLOCK will now raise EINPROGRESS; and connect() with SO_SNDTIMEO
  will raise ETIMEDOUT after the interval has elapsed.

- We now get the AcceptEx(), ConnectEx(), and TransmitFile() functions
  from the WIN32 API the officially blessed way, using WSAIoctl().

- Do nothing on Windows when fsync() is called on a directory handle.
  This was raising EACCES earlier becaues GENERIC_WRITE is required on
  the handle. It's possible to FlushFileBuffers() a directory handle if
  it's opened with write access but MSDN doesn't document what it does.
  If you have any idea, please let us know!

- Prefer manual reset event objects for read() and write() on Windows.

- Do some code cleanup on our dlmalloc customizations.

- Fix errno type error in Windows blocking routines.

- Make the futex polyfill simpler and faster.
2023-10-12 23:13:04 -07:00
..
crypt_test.c Make more libc improvements 2022-08-06 17:18:40 -07:00
devrand_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
dirstream_test.c Make improvements 2023-09-18 21:04:47 -07:00
dtoa_test.c Make improvements 2023-09-18 21:04:47 -07:00
dumphexc_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
ecvt_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fds_torture_test.c Make quick fix for aarch64 build 2023-07-30 15:06:28 -07:00
fgetln_test.c Fix warnings 2023-09-01 20:50:18 -07:00
fgets_test.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
fgetwc_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
fmemopen_test.c Make improvements 2023-09-06 12:34:59 -07:00
fmt_test.c Make improvements 2023-09-18 21:04:47 -07:00
fprintf_test.c Get GNU MPFR and MPC tests to pass 2023-08-21 15:05:10 -07:00
fputc_test.c Make improvements 2023-09-18 21:04:47 -07:00
fputs_test.c Make improvements 2023-09-18 21:04:47 -07:00
fread_test.c Make improvements 2023-09-18 21:04:47 -07:00
freopen_test.c Make improvements 2023-09-18 21:04:47 -07:00
fseeko_test.c Make improvements 2023-09-18 21:04:47 -07:00
ftell_test.c Make improvements 2023-09-18 21:04:47 -07:00
fwrite_test.c Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
getdelim_test.c Make improvements 2023-09-18 21:04:47 -07:00
getentropy_test.c Fix warnings 2023-09-01 20:50:18 -07:00
gz_test.c Make improvements 2023-09-18 21:04:47 -07:00
iconv_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
joinstrlist_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
memory_test.c Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
mt19937_test.c Fix warnings 2023-09-01 20:50:18 -07:00
palandprintf_test.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
popen_test.c Make improvements 2023-09-18 21:04:47 -07:00
rand_test.c Rename rand64() to _rand64() 2022-10-10 04:12:06 -07:00
rngset_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
snprintf_test.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
sprintf_s.inc Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
sprintf_s_test.c Fix warnings 2023-09-01 20:50:18 -07:00
sscanf_test.c Make improvements 2023-09-18 21:04:47 -07:00
test.mk Make improvements 2023-09-18 21:04:47 -07:00
tmpfile_test.c Make improvements 2023-09-18 21:04:47 -07:00
ungetc_test.c Make improvements 2023-09-18 21:04:47 -07:00
vappendf_test.c Fix warnings 2023-09-01 20:50:18 -07:00
zipdir_test.c Fix some zipos directory related bugs 2023-09-19 02:30:42 -07:00