Skip to content
Snippets Groups Projects
Select Git revision
  • 522edfe38e969f22792e504b74bcf17899ce803a
  • main default protected
  • increase_steps
  • auto_mutation
4 results

main.py

Blame
  • fhello-6.c 234 B
    #include <stdio.h>
    #include <errno.h>
    #include <error.h>
    
    int main (void)
    {
      FILE *f = fopen ("fhello.txt", "w");
      if (!f)
         error (errno, errno, "cannot open file");
      fprintf (f, "Hello, world!\n");
      fclose (f);
      return 0;
    }