File: test-sleep-forever.c

package info (click to toggle)
dbus 1.2.1-5%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,524 kB
  • ctags: 4,777
  • sloc: ansic: 70,571; sh: 9,458; xml: 6,283; makefile: 607
file content (16 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (3)
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;
}