Merge "[lib-fix] Fixed return value of kdbus_write_msg Change-Id: Ia3a45a6a79b4078929...
[platform/upstream/dbus.git] / test / test-sleep-forever.c
1 /* This is a process that just sleeps infinitely. */
2
3 #include <config.h>
4 #include <stdlib.h>
5 #ifdef HAVE_UNISTD_H
6 #include <unistd.h>
7 #endif
8
9 #ifdef DBUS_WIN
10 # include <windows.h>
11 # define sleep Sleep
12 #endif
13
14
15 int
16 main (int argc, char **argv)
17 {
18   while (1)
19     sleep (10000000);
20
21   return 1;
22 }