Skip to content
Snippets Groups Projects
Select Git revision
  • 3c562e52bd94e19e0f52a7a232adc703d0bac476
  • master default protected
2 results

README.md

Blame
  • fhello-3.c 238 B
    #include <stdio.h>
    #include <errno.h>
    
    int main (void)
    {
      FILE *f = fopen ("fhello.txt", "w");
      if (f)
        {
          fprintf (f, "Hello, world!\n");
          fclose (f);
        }
      else
        fprintf (stderr, "error #%d\n", errno);
      return 0;
    }