File: test-sleep-forever.c

package info (click to toggle)
dbus 1.0.2-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 7,100 kB
  • ctags: 4,346
  • sloc: ansic: 65,805; sh: 8,901; xml: 6,705; makefile: 515
file content (12 lines) | stat: -rwxr-xr-x 161 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
/* This is a process that just sleeps infinitely. */

#include <unistd.h>

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