android_mt6572_jiabo/external/lldb/test/functionalities/process_attach/main.c
2025-09-05 16:56:03 +08:00

14 lines
275 B
C

#include <stdio.h>
#include <unistd.h>
int main(int argc, char const *argv[]) {
// Waiting to be attached by the debugger.
int temp = 0;
while (temp < 30) // Waiting to be attached...
{
sleep(1);
temp++;
}
printf("Exiting now\n");
}