forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…en-core#22397) Fixes missing `wait4` and `wait3` functions by adding the relevant source files from the musl libc to the build process of the libc.
- Loading branch information
1 parent
561e0c9
commit c66e8cf
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include <sys/wait.h> | ||
#include <stddef.h> | ||
|
||
int main() { | ||
// The current implementation uses the stub symbol __syscall_wait4. | ||
// This test exists simply to ensure that it compile and link. | ||
waitpid(0, NULL, 0); | ||
wait3(NULL, 0, NULL); | ||
wait4(0, NULL, 0, NULL); | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters