aboutsummaryrefslogtreecommitdiffstats
path: root/touch.c
blob: 19b9ed7e77721ab3266f0918e4256b6fe6731268 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int main(int argc, char *argv[])
{
  FILE *f;

  for (int i = 1; i < argc; i++) {
    f = fopen(argv[i], "a");
    fprintf(f, "\n"); /* TODO make this actually work without writing anything to the file*/
    fclose(f);
  }
}