bolt/deps/llvm-18.1.8/lldb/test/API/commands/process/launch/main.cpp

18 lines
268 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char **argv)
{
char buffer[1024];
fgets (buffer, sizeof (buffer), stdin);
fprintf (stdout, "%s", buffer);
fgets (buffer, sizeof (buffer), stdin);
fprintf (stderr, "%s", buffer);
return 0;
}