mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-22 03:10:06 +01:00
* dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to return a "babysitter" object that is used to monitor the status of the spawned process and reap it when required. * test/test-segfault.c, test/test-exit.c, test/test-sleep-forever.c: binaries that do various lame things, used in the test suite. * dbus/dbus-sysdeps.c: kill _dbus_errno_to_string()
12 lines
161 B
C
12 lines
161 B
C
/* This is a process that just sleeps infinitely. */
|
|
|
|
#include <unistd.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
while (1)
|
|
sleep (10000000);
|
|
|
|
return 1;
|
|
}
|