summaryrefslogtreecommitdiff
path: root/src/sysdeps/trywaitid.c
blob: 76ceeea8ce4c7bcc685514a6d23341dc3a1a06f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <sys/types.h>
#include <signal.h>
#include <sys/wait.h>

int main (void)
{
  siginfo_t info ;
  waitid(P_PID, 0, &info, WEXITED) ;
  return 0 ;
}