<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125102>125102</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc][POSIX] provide waitpid from sys/wait.h
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
In order to make out unit tests hermetic for cross compilation, we need to implement `waitpid` from sys/wait.h for use in libc/test/UnitTest/ExecuteFunctionUnix.cpp.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkU1v3CAQhn8NvqBYMP4-cGi6tZRTK7WRerVhvJ4Gg8XHJvn3lb0r9dATCDHP--qZKUa6OkTFmmfWXIopp9UH5Ui_GYxTto4wxGL25lO9OO6DwcCT59v0htznxLOjxBPGFPmKYcNEmi8-cB18jFz7bSc7JfKOwVf-jtwhmgNA225xQ5c4a8X7RGknw1rBl-A3Hj8jg_F4LdeTliNyctzSrBmMRxyD8dVR-nW_fvtAnROO2ekj69XRR6n3vSyMqsxQDVOBSnZVD62UXV-sqm1EVS9YzZ0Qoq5RzrPsFom9GYQEqAtSIKARshKyl0PVlWaowAyyXUQju74GVgvcJrKltbet9OFaUIwZlYRGCijsNKONp1aAe284BAd1_H-a8zWyWliKKf4jJEr2XMU50FxY8_zj-8-X36y58D34GxnkD1f_iypysGpNaY-s-sJgZDBeKa15LrXfGIxHyuN42oP_g_owd5Y-II_eNwV_AwAA__-b9K17">