blob: 3f5960f8915e689aef8ac7e6557fe23dddcb4dc6 [file] [log] [blame]
/* Copyright (c) 2014 Google Inc. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#include <stdio.h>
extern const char* getString(void);
int main(int argc, char* argv[])
if (argc < 2) return 2;
FILE* f = fopen(argv[1], "w");
if (f == NULL) return 1;
fprintf(f, "%s", getString());
return 0;