mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Improve posix_spawn() some more
This commit is contained in:
parent
6430e474b4
commit
00084577a3
18 changed files with 301 additions and 293 deletions
|
@ -345,14 +345,6 @@ int ReadResponse(void) {
|
|||
return exitcode;
|
||||
}
|
||||
|
||||
static inline bool IsElf(const char *p, size_t n) {
|
||||
return n >= 4 && READ32LE(p) == READ32LE("\177ELF");
|
||||
}
|
||||
|
||||
static inline bool IsMachO(const char *p, size_t n) {
|
||||
return n >= 4 && READ32LE(p) == 0xFEEDFACEu + 1;
|
||||
}
|
||||
|
||||
int RunOnHost(char *spec) {
|
||||
int err;
|
||||
char *p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue