1#include <stdio.h>
2#include <stdlib.h>
3
4int
5main (int argc, char **argv)
6{
7 char buffer[1024];
8
9 fgets (s: buffer, n: sizeof (buffer), stdin);
10 fprintf (stdout, format: "%s", buffer);
11
12
13 fgets (s: buffer, n: sizeof (buffer), stdin);
14 fprintf (stderr, format: "%s", buffer);
15
16 return 0;
17}
18

source code of lldb/test/API/commands/process/launch/main.cpp