You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <string.h>
|
|
|
|
void
|
|
call_me()
|
|
{
|
|
sleep(1);
|
|
}
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
printf ("Hello there!\n"); // Set break point at this line.
|
|
if (argc == 2 && strcmp(argv[1], "keep_waiting") == 0)
|
|
while (1)
|
|
{
|
|
call_me();
|
|
}
|
|
return 0;
|
|
}
|