cosmopolitan/libc/intrin
Justine Tunney ff77f2a6af
Make improvements
- This change fixes a bug that allowed unbuffered printf() output (to
  streams like stderr) to be truncated. This regression was introduced
  some time between now and the last release.

- POSIX specifies all functions as thread safe by default. This change
  works towards cleaning up our use of the @threadsafe / @threadunsafe
  documentation annotations to reflect that. The goal is (1) to use
  @threadunsafe to document functions which POSIX say needn't be thread
  safe, and (2) use @threadsafe to document functions that we chose to
  implement as thread safe even though POSIX didn't mandate it.

- Tidy up the clock_gettime() implementation. We're now trying out a
  cleaner approach to system call support that aims to maintain the
  Linux errno convention as long as possible. This also fixes bugs that
  existed previously, where the vDSO errno wasn't being translated
  properly. The gettimeofday() system call is now a wrapper for
  clock_gettime(), which reduces bloat in apps that use both.

- The recently-introduced improvements to the execute bit on Windows has
  had bugs fixed. access(X_OK) on a directory on Windows now succeeds.
  fstat() will now perform the MZ/#! ReadFile() operation correctly.

- Windows.h is no longer included in libc/isystem/, because it confused
  PCRE's build system into thinking Cosmopolitan is a WIN32 platform.
  Cosmo's Windows.h polyfill was never even really that good, since it
  only defines a subset of the subset of WIN32 APIs that Cosmo defines.

- The setlongerjmp() / longerjmp() APIs are removed. While they're nice
  APIs that are superior to the standardized setjmp / longjmp functions,
  they weren't superior enough to not be dead code in the monorepo. If
  you use these APIs, please file an issue and they'll be restored.

- The .com appending magic has now been removed from APE Loader.
2023-10-03 06:17:16 -07:00
..
aarch64 Make improvements 2023-09-06 22:48:05 -07:00
__cxa_pure_virtual.c Clean up more code 2023-06-18 01:00:05 -07:00
__getauxval.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
__getenv.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
abort.c Remove some dead code 2023-07-03 02:48:29 -07:00
abs.c Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
asan.c Make improvements 2023-09-18 21:04:47 -07:00
asan.internal.h Hunt down more bugs 2023-07-03 18:43:29 -07:00
asancodes.h Make more fixes and improvements 2023-07-29 18:44:15 -07:00
asaninit.S Get LIBC_TESTLIB building on AARCH64 2023-05-11 19:57:09 -07:00
asanthunk.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
ashlti3.c Clean up more code 2023-06-18 01:00:05 -07:00
asmflag.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
assertfail.c Remove some dead code 2023-07-03 02:48:29 -07:00
atexit.c Improve memory safety 2021-10-13 17:27:13 -07:00
atomic.h Use enum and typedef in stdatomic.h 2023-03-28 22:15:58 -07:00
bcopy.c Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
bitreverse.c Clean up more code 2023-07-06 08:03:24 -07:00
bitreverse32.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bitreverse64.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
bits.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
bsf.c Add ANSI version of bsr/bsf 2023-08-13 08:19:00 -07:00
bsf.h Polyfill the 32-bit _bsr() function 2023-08-13 21:13:32 -07:00
bsr.c Polyfill the 32-bit _bsr() function 2023-08-13 21:13:32 -07:00
bsr.h Make improvements 2023-09-06 12:34:59 -07:00
bsrl.c Fix stack memory, undefined behavior, etc. 2023-08-15 19:10:08 -07:00
bswap.c Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
bswap.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
bzero.c Make improvements 2023-09-06 12:34:59 -07:00
clearenv.c Make fixes and improvements 2022-10-19 07:19:19 -07:00
cmpxchg.h Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
comparetf2.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
cosmo_once.c Make improvements 2023-09-18 21:04:47 -07:00
countbits.c Fix warnings 2023-09-01 20:50:18 -07:00
cp.c Make improvements 2023-10-03 06:17:16 -07:00
createdirectory.c Make improvements 2023-09-06 12:34:59 -07:00
createfile.c Make improvements 2023-09-18 21:04:47 -07:00
createfilemapping.c Make improvements 2023-09-18 21:04:47 -07:00
createfilemappingnuma.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
createnamedpipe.c Make improvements 2023-09-18 21:04:47 -07:00
createpipe.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
createprocess.c Make improvements 2023-09-06 12:34:59 -07:00
createsymboliclink.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
createthread.c Make improvements 2023-09-18 21:04:47 -07:00
cxaatexit.c Add Cosmopolitan to uname() 2023-09-21 23:51:55 -07:00
cxaatexit.internal.h Remove IMAGE_BASE_VIRTUAL 2023-09-12 01:21:36 -07:00
cxablocks.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
cxafinalize.c Add Cosmopolitan to uname() 2023-09-21 23:51:55 -07:00
cxalock.c Make improvements 2023-09-18 21:04:47 -07:00
deletefile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
describearchprctlcode.c Make improvements 2023-06-15 14:50:53 -07:00
describebacktrace.c Make improvements 2023-09-18 21:04:47 -07:00
describebacktrace.internal.h Overhaul process spawning 2023-09-10 08:17:44 -07:00
describecancelstate.c Make improvements 2023-09-18 21:04:47 -07:00
describecapability.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeclockname.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describedirfd.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describednotify.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describeerrnoresult.c Disable linker map generation and improve tinyness 2023-06-09 03:29:26 -07:00
describefcntlcmd.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describefdset.c Make improvements 2023-09-21 07:30:39 -07:00
describeflags.c Improve AARCH64 execution 2023-09-11 14:46:46 -07:00
describeflags.internal.h Make improvements 2023-09-18 21:04:47 -07:00
describeflock.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeflocktype.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describeframe.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
describefutexop.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describegidlist.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describehow.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeinoutint64.c Improve system call wrappers 2022-09-19 15:06:25 -07:00
describeiovec.c Fix llama.com interactive mode regressions 2023-05-13 00:09:38 -07:00
describeiovnt.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describeitimer.c Make improvements 2023-06-15 14:50:53 -07:00
describeitimerval.c Make improvements 2023-06-15 14:50:53 -07:00
describemagnums.c Fix warnings 2023-09-01 20:50:18 -07:00
describemapflags.c Make improvements 2023-06-15 14:50:53 -07:00
describemapping.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentconsolemodeinputflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentconsolemodeoutputflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentcreationdisposition.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
describentfileaccessflags.c Make improvements 2023-08-21 02:34:17 -07:00
describentfileflagattr.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentfilemapflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentfileshareflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentfiletypeflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentlockfileflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentmovfileinpflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentoverlapped.c Make improvements 2023-09-06 12:34:59 -07:00
describentoverlapped.internal.h Make improvements 2023-09-06 12:34:59 -07:00
describentpageflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentpipemodeflags.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describentpipeopenflags.c Fix a bunch of Windows bugs reported on Discord 2023-07-28 06:17:34 -07:00
describentprocaccessflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentsecurityattributes.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
describentstartflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describentsymlinkflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeopenflags.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
describeopenmode.c Make improvements 2023-09-06 12:34:59 -07:00
describepersonalityflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describepollfds.c Fix warnings 2023-09-01 20:50:18 -07:00
describepollflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeprctloperation.c Hunt down more bugs 2023-07-03 18:43:29 -07:00
describeprotflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeptrace.c Add PTRACE_SECCOMP_GET_METADATA (#882) 2023-08-20 02:49:22 -07:00
describeptraceevent.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeremapflags.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describerlimit.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
describerlimitname.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeschedparam.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describeschedpolicy.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describeseccompoperation.c Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
describesicode.c Fix warnings 2023-09-01 20:50:18 -07:00
describesigaction.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
describesigaltstack.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describesiginfo.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describesigset.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describesleepflags.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describesocketfamily.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describesocketprotocol.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
describesockettype.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describesocklevel.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
describesockoptname.c Fix warnings 2023-09-01 20:50:18 -07:00
describestat.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
describestatfs.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describestdiostate.c Disable linker map generation and improve tinyness 2023-06-09 03:29:26 -07:00
describestringlist.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describetermios.c Rewrite Windows console input handling 2023-09-19 11:53:27 -07:00
describethreadcreationflags.c Make improvements 2023-09-18 21:04:47 -07:00
describetimespec.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
describetimeval.c Make improvements 2023-06-15 14:50:53 -07:00
describewhence.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describewhichprio.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
describewinsize.c Fix warnings 2023-09-01 20:50:18 -07:00
deviceiocontrol.c Make important improvements 2022-09-14 22:39:08 -07:00
directmap-metal.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
directmap-nt.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
directmap.c Make improvements 2023-10-03 06:17:16 -07:00
directmap.internal.h Make more threading improvements 2022-11-01 23:28:26 -07:00
divmodti4.c Fix small matters and improve sysconf() 2023-08-17 00:32:11 -07:00
divti3.c Fix small matters and improve sysconf() 2023-08-17 00:32:11 -07:00
dll.c Clean up more code 2023-07-06 08:03:24 -07:00
dll.h Make improvements 2023-09-18 21:04:47 -07:00
dos2errno.c Make dos errno multimapping linkage tinier 2022-09-13 06:25:50 -07:00
dos2errno.internal.h Improve synchronization 2022-04-15 15:31:55 -07:00
enable_threads.c Make improvements 2023-09-18 21:04:47 -07:00
exit.c Make improvements 2023-10-03 06:17:16 -07:00
exit1.greg.c Make improvements 2023-10-03 06:17:16 -07:00
extend.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
extend.internal.h Add shared memory apis to redbean 2022-10-06 04:55:26 -07:00
fds_lock.c Make improvements 2023-09-18 21:04:47 -07:00
fds_lock_obj.c Make system() and popen() thread safe 2022-10-13 15:54:05 -07:00
feholdexcept.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
fenv.S Make improvements 2023-06-15 14:50:53 -07:00
feupdateenv.c Make improvements 2023-06-03 08:12:22 -07:00
ffs.c Fix warnings 2023-09-01 20:50:18 -07:00
findclose.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
findfirstfile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
findmemoryinterval.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
findnextfile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
flushers.c Make system() and popen() thread safe 2022-10-13 15:54:05 -07:00
flushfilebuffers.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
flushviewoffile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
fmax.c Make improvements 2023-06-15 14:50:53 -07:00
fmaxf.c Make more ML improvements 2023-05-16 08:07:23 -07:00
fmaxl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
formathex64.c Make improvements 2023-09-18 21:04:47 -07:00
formatint32.c Validate privileged code relationships 2023-06-08 04:38:06 -07:00
formatint64.c Make improvements 2022-05-12 06:45:36 -07:00
formatoctal32.c Make improvements 2023-09-06 12:34:59 -07:00
ftrace.c Make more threading improvements 2022-11-01 23:28:26 -07:00
ftrace_enabled.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
ftrapv.c Remove old zip base skew hack 2023-06-17 04:20:16 -07:00
futex.S Get LIBC_MEM and LIBC_STDIO building with aarch64 2023-05-10 04:20:47 -07:00
g_fds.c Make improvements 2023-09-21 07:30:39 -07:00
g_fds_init.S Make more fixes and improvements 2023-07-29 18:44:15 -07:00
gcov.S Clean up more code 2023-06-18 01:00:05 -07:00
generateconsolectrlevent.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getauxval.c Give Emacs another performance boost 2023-08-18 09:34:14 -07:00
getauxval.internal.h Give Emacs another performance boost 2023-08-18 09:34:14 -07:00
getcpuidbrand.S Make improvements 2023-07-10 04:35:14 -07:00
getcpuidemulator.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
getcpuidos.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
getenv.c Make improvements 2023-09-06 12:34:59 -07:00
getenv.internal.h Give Emacs another performance boost 2023-08-18 09:34:14 -07:00
getexitcodeprocess.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getfileattributes.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getmainstack.c Make improvements 2023-10-03 06:17:16 -07:00
getminsigstksz.c Make improvements 2023-09-18 21:04:47 -07:00
getpid.c Make improvements 2023-10-03 06:17:16 -07:00
getsafesize.greg.c Make improvements 2023-09-18 21:04:47 -07:00
gettid.c Make improvements 2023-10-03 06:17:16 -07:00
handlock.c Make improvements 2023-09-18 21:04:47 -07:00
handlock.internal.h Make improvements 2023-09-18 21:04:47 -07:00
hilbert.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
hilbert.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
interrupts.S [metal] Allow programs larger than 440 KiB to run in bare metal mode (#685) 2022-12-17 17:51:20 -08:00
intrin.mk Make improvements 2023-09-18 21:04:47 -07:00
isatleastwindows10.c Fix POLLIN|POLLOUT when together on Windows 2023-08-08 10:33:52 -07:00
iscygwin.c Update tests and CPU detection for Blink 2023-01-18 00:56:09 -08:00
isdebuggerpresent.c Make improvements 2023-09-18 21:04:47 -07:00
isgenuineblink.c Update tests and CPU detection for Blink 2023-01-18 00:56:09 -08:00
isloopbackip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
isprivateip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
ispublicip.c Add .PLEDGE/.CPU/.MEMORY/etc. to Landlock Make 1.2 2022-08-14 20:16:44 -07:00
isrunningundermake.c Make exciting improvements 2022-03-18 03:02:00 -07:00
isworker.c Add seccomp bpf sandboxing to redbean 2022-04-18 08:54:42 -07:00
iswsl.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
kclocknames.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
kdos2errno.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
kerrnodocs.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
kerrnonames.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
kfcntlcmds.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
kipoptnames.S Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
kntisinheritable.greg.c Make improvements 2023-09-06 12:34:59 -07:00
kopenflags.S Make improvements 2023-09-06 12:34:59 -07:00
kpollnames.S Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
kprintf.greg.c Make improvements 2023-09-18 21:04:47 -07:00
kprintf.h Make improvements for Actually Portable Emacs 2023-08-19 06:44:58 -07:00
krlimitnames.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
ksignalnames.S Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
ksockoptnames.S Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
kstarttsc.c Make improvements 2022-03-16 13:40:10 -07:00
ktcpoptnames.S Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
leaky.internal.h Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
leaky.S Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
lengthuint64.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
likely.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
lockfileex.c Elevate Windows production worthiness 2022-10-13 13:44:41 -07:00
lshrti3.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
macros.h Get TEST_LIBC_CALLS passing on AARCH64 2023-05-13 02:41:41 -07:00
mapviewoffileex.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
mapviewoffileexnuma.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
memchr.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
memcmp.c Make improvements 2023-09-06 22:48:05 -07:00
memmove.c Fix warnings 2023-09-01 20:50:18 -07:00
mempcpy.c Make numerous improvements 2021-09-28 01:52:34 -07:00
memrchr.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
memset.c Restore missing cosmopolitan documentation on website 2023-07-30 11:07:53 -07:00
memtrack.greg.c Make improvements 2023-09-18 21:04:47 -07:00
mman.greg.c Make improvements 2023-09-18 21:04:47 -07:00
mmi.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
mmi.init.S Make improvements 2023-09-06 12:34:59 -07:00
mmi_lock.c Make improvements 2023-09-18 21:04:47 -07:00
movefileex.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
mulodi4.c Clean up more code 2023-06-18 01:00:05 -07:00
mulosi4.c Clean up more code 2023-06-18 01:00:05 -07:00
muloti4.c Clean up more code 2023-06-18 01:00:05 -07:00
multf3.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
mulvti3.c Remove old zip base skew hack 2023-06-17 04:20:16 -07:00
newbie.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
nocolor.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
nomultics.c Make improvements 2023-09-21 07:30:39 -07:00
nomultics.internal.h Make improvements 2023-09-21 07:30:39 -07:00
ntcontext2linux.c Make improvements 2023-09-18 21:04:47 -07:00
ntgetversion.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
oldstack.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
onarithmeticoverflow.c Clean up more code 2023-06-18 01:00:05 -07:00
openprocess.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
packsswb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
packsswb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
packuswb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
packuswb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
paddw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
paddw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
palignr.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
palignr.h Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
palignrs.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
pandn.c Change license 2020-12-27 17:18:44 -08:00
pandn.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpgtb.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpgtb.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pcmpgtw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pcmpgtw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmaddubsw.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
pmaddubsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pmovmskb.c Change license 2020-12-27 17:18:44 -08:00
pmovmskb.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
pmulhrsw.c Make SSL handshakes much faster 2021-07-11 23:17:47 -07:00
pmulhrsw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
popcnt.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
popcnt.h Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
printmemoryintervals.c Fix warnings 2023-09-01 20:50:18 -07:00
printsystemmappings.greg.c Validate privileged code relationships 2023-06-08 04:38:06 -07:00
promises.c Refactor pledge() to be more configurable 2022-08-11 11:35:30 -07:00
promises.internal.h Extend Pledge with anet (same as inet, but with no connect) (#827) 2023-06-03 07:50:29 -07:00
prot2nt.greg.c Make more threading improvements 2022-11-01 23:28:26 -07:00
psraw.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
psraw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
psrawv.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
pthread_atfork.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_cleanup_pop.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_cleanup_push.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_main.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_mutex_destroy.c Move zipos into runtime package 2023-08-11 23:14:02 -07:00
pthread_mutex_init.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
pthread_mutex_lock.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_mutex_trylock.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutex_unlock.c Add Cosmopolitan to uname() 2023-09-21 23:51:55 -07:00
pthread_mutexattr_destroy.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutexattr_getpshared.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutexattr_gettype.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutexattr_init.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutexattr_setpshared.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_mutexattr_settype.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
pthread_next.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_setcancelstate.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_spin_destroy.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
pthread_spin_init.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
pthread_spin_lock.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
pthread_spin_trylock.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
pthread_spin_unlock.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
pthread_tid.c Make improvements 2023-09-18 21:04:47 -07:00
pthread_yield.c Make improvements 2023-09-18 21:04:47 -07:00
pthreadlist.c Make improvements 2023-09-06 22:48:05 -07:00
pthreadlock.c Make improvements 2023-09-06 22:48:05 -07:00
punpckhbw.c Change license 2020-12-27 17:18:44 -08:00
punpckhbw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpckhwd.c Change license 2020-12-27 17:18:44 -08:00
punpckhwd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpcklbw.c Change license 2020-12-27 17:18:44 -08:00
punpcklbw.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
punpcklwd.c Change license 2020-12-27 17:18:44 -08:00
punpcklwd.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pushpop.internal.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
quick_exit.c Make improvements for Actually Portable Emacs 2023-08-19 06:44:58 -07:00
rand64.c Make improvements 2023-10-03 06:17:16 -07:00
removedirectory.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
reopenfile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
repmovsb.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
repstosb.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
safemacros.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
scalblnl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
scalbn.c Make improvements 2023-06-15 14:50:53 -07:00
scalbnf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
scalbnl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sched_yield.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
segmentation.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
setcurrentdirectory.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
setjmp.internal.h Get threads working on all platforms 2022-05-13 03:59:09 -07:00
sig.c Rewrite Windows signal delivery system 2023-09-12 11:38:34 -07:00
sigaddset.c Make improvements 2023-09-06 12:34:59 -07:00
sigandset.c Make more improvements to threading support 2022-10-09 00:08:47 -07:00
sigcountset.c Fix warnings 2023-09-01 20:50:18 -07:00
sigdelset.c Make improvements 2023-09-06 12:34:59 -07:00
sigemptyset.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
sigfillset.c Make fixes and improvements 2022-10-19 07:19:19 -07:00
sighandrvas.c Make improvements 2023-09-18 21:04:47 -07:00
sigisemptyset.c Make more improvements to threading support 2022-10-09 00:08:47 -07:00
sigismember.c Make improvements 2023-09-06 12:34:59 -07:00
sigisprecious.inc Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
sigorset.c Make more improvements to threading support 2022-10-09 00:08:47 -07:00
sizefmt.c Polyfill statfs() and fstatfs() on BSD distros 2022-08-17 14:54:03 -07:00
stackcall.S Make improvements 2023-09-18 21:04:47 -07:00
stackchkfail.c Further improve fatcosmocc 2023-08-13 01:51:39 -07:00
stackchkfaillocal.c Make improvements 2023-07-10 04:35:14 -07:00
stackchkguard.S Clean up more code 2023-06-18 01:00:05 -07:00
stpcpy.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strace.internal.h Make improvements 2023-10-03 06:17:16 -07:00
strace_enabled.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strace_enter.c Make improvements 2023-09-21 07:30:39 -07:00
stracef.greg.c Fix warnings 2023-09-01 20:50:18 -07:00
strchr.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strchrnul.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strcmp.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strcpy.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strerror.c Fix warnings 2023-09-01 20:50:18 -07:00
strerror_r.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strerror_wr.greg.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strlen.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strncmp.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
strnlen.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strrchr.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
strsignal.c Make improvements 2023-10-03 06:17:16 -07:00
strsignal_r.c Make improvements 2023-10-03 06:17:16 -07:00
sys_gettid.greg.c Make improvements 2023-09-18 21:04:47 -07:00
sys_umtx_timedwait_uint.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
terminateprocess.c Improve wait statuses 2023-07-30 14:51:37 -07:00
terminatethisprocess.c Make improvements 2023-09-18 21:04:47 -07:00
tpenc.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
typeinfo.S Clean up more code 2023-06-18 01:00:05 -07:00
ubsan.c Make improvements 2023-09-06 12:34:59 -07:00
udivmodti4.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
umask.c Make improvements for Actually Portable Emacs 2023-08-19 06:44:58 -07:00
unlockfileex.c Elevate Windows production worthiness 2022-10-13 13:44:41 -07:00
unmapviewoffile.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
unsetenv.c Make improvements 2023-10-03 06:17:16 -07:00
virtualprotect.c Fix warnings 2023-09-01 20:50:18 -07:00
waitformultipleobjects.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
waitforsingleobject.c Make improvements 2023-09-18 21:04:47 -07:00
wantcrashreports.c Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
weaken.h Restore missing cosmopolitan documentation on website 2023-07-30 11:07:53 -07:00
winerr.greg.c Fix warnings 2023-09-01 20:50:18 -07:00
winsockerr.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
wintlsinit.c Make improvements 2023-09-18 21:04:47 -07:00
wsagetoverlappedresult.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
wsarecv.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
wsarecvfrom.c Delete more dead code 2023-07-06 09:12:28 -07:00
wsawaitformultipleevents.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
x86names.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
xchg.internal.h Get LIBC_MEM and LIBC_STDIO building with aarch64 2023-05-10 04:20:47 -07:00