skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

trywaitid.c (175B)


      1 /* ISC license. */
      2 
      3 #include <sys/types.h>
      4 #include <signal.h>
      5 #include <sys/wait.h>
      6 
      7 int main (void)
      8 {
      9   siginfo_t info ;
     10   waitid(P_PID, 0, &info, WEXITED) ;
     11   return 0 ;
     12 }