summaryrefslogtreecommitdiff
path: root/example/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/target.c')
-rw-r--r--example/target.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/example/target.c b/example/target.c
new file mode 100644
index 0000000..fc34b9d
--- /dev/null
+++ b/example/target.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <unistd.h>
+
+int main()
+{
+ printf("pid %li\n", getpid());
+ while (1)
+ {
+ printf("waiting...\n");
+ sleep(2);
+ }
+
+ return 1;
+} \ No newline at end of file