cosmopolitan/libc/proc
Justine Tunney a4b455185b
Bring back gc() function
Renaming gc() to _gc() was a mistake since the better thing to do is put
it behind the _COSMO_SOURCE macro. We need this change because I haven't
wanted to use my amazing garbage collector ever since we renamed it. You
now need to define _COSMO_SOURCE yourself when using amalgamation header
and cosmocc users need to pass the -mcosmo flag to get the gc() function

Some other issues relating to cancelation have been fixed along the way.
We're also now putting cosmocc in a folder named `.cosmocc` so it can be
more safely excluded by grep --exclude-dir=.cosmocc --exclude-dir=o etc.
2024-01-08 10:26:28 -08:00
..
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
clock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cocmd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
daemon.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describefds.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describefds.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
execl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execle.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execlp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execve-nt.greg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execve-sysv.c Bring back gc() function 2024-01-08 10:26:28 -08:00
execve.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execve.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
execvp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
execvpe.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fexecve.c Bring back gc() function 2024-01-08 10:26:28 -08:00
fork-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fork-sysv.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
fork.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpriority-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpriority.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getrusage-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getrusage-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getrusage.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
handle.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kill-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kill.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
killpg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
nice.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ntspawn.h Reduce header complexity 2023-11-28 14:39:42 -08:00
paginate.c Add missing build dependency 2024-01-03 17:04:21 -08:00
posix_spawn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn.h Reduce header complexity 2023-11-28 14:39:42 -08:00
posix_spawn.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
posix_spawn_add_file_action.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_addchdir_np.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_addclose.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_adddup2.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_addfchdir_np.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_addopen.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawn_file_actions_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getpgroup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getrlimit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getschedparam.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getschedpolicy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getsigdefault.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_getsigmask.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setpgroup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setrlimit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setschedparam.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setschedpolicy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setsigdefault.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnattr_setsigmask.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_spawnp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
proc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
proc.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sched_getaffinity.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_setaffinity.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setpriority-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setpriority.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
system.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
systemvpe.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
times.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
verynice.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
vfork.S Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
wait.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wait3.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wait4-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wait4-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wait4.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
waitpid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00