1 // Copyright (c) 2013 Google Inc. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 #include <stdio.h> 5 6 int main(int argc, char *argv[]) { 7 if (argc < 2) { 8 return 2; 9 } 10 FILE* file; 11 file = fopen(argv[1], "wb"); 12 const char output[] = "output"; 13 fwrite(output, 1, sizeof(output) - 1, file); 14 fclose(file); 15 return 0; 16 } 17 18