aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/platform/sdk/main.c
blob: 910e08f7cfd1bdf219c696392d078cae2c91637e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <unistd.h>

int main(int argc, char **argv) {
  FILE *f = fopen(argv[1], "wx");
  if (f) {
    fputs("\n", f);
    fflush(f);
    fclose(f);
  } else {
    return 1;
  }

  pause();
  return 0;
}