| 1 | #include <stdio.h> |
|---|---|
| 2 | #include <unistd.h> |
| 3 | #include <string.h> |
| 4 | |
| 5 | void |
| 6 | call_me() |
| 7 | { |
| 8 | sleep(seconds: 1); |
| 9 | } |
| 10 | |
| 11 | int |
| 12 | main (int argc, char **argv) |
| 13 | { |
| 14 | printf (format: "Hello there!\n"); // Set break point at this line. |
| 15 | if (argc == 2 && strcmp(s1: argv[1], s2: "keep_waiting") == 0) |
| 16 | while (1) |
| 17 | { |
| 18 | call_me(); |
| 19 | } |
| 20 | return 0; |
| 21 | } |
| 22 |
