Sha256: ca2d251d5acf5f049c4deca0a9764cac692c2c61417fb6f7b4908c4e07c580b9

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

/* 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());
  fclose(f);
  return 0;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/android/writefile.c