summaryrefslogtreecommitdiff
path: root/test/test-sleep-forever.c
blob: ff0d8e267228ec71d86841c8091091db73b1fbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This is a process that just sleeps infinitely. */

#include <config.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

int
main (int argc, char **argv)
{
  while (1)
    sleep (10000000);
  
  return 1;
}