summaryrefslogtreecommitdiffstats
path: root/test/mkdirp-test.c
blob: d1bcd95b52935572c16a03c149142a3521f79415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdlib.h>
#include <stdio.h>
#include "mkdirp.c"

extern int main(int argc, char* argv[]) {
	if(argc != 2) {
		printf("usage: %s directory\n", argv[0]);
		return 1;
	}
	mkdir_p(argv[1]);
	return 0;
}