Invent systemvpe() function

It goes 5x faster than system() and it's safer too.
This commit is contained in:
Justine Tunney 2023-08-09 00:27:55 -07:00
parent 1a5ef5ba13
commit 50394064d7
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 132 additions and 4 deletions

View file

@ -4,6 +4,7 @@
COSMOPOLITAN_C_START_
errno_t cosmo_once(_Atomic(uint32_t) *, void (*)(void));
int systemvpe(const char *, char *const[], char *const[]);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */