Ext
 All Files Functions
main.c
1 
8 #include <stdio.h>
9 #include <fcntl.h>
10 #include <stdlib.h>
11 #include <string.h>
12 #include "client.h"
13 
14 
15 int main(int argc, char** argv) {
16  if (argc < 2) {
17  fprintf(stderr, "Path to fs file wasn't specified. Using default name!\n");
18  const char* fs_file_path = "test_fs";
19  client(fs_file_path);
20  } else {
21  const char* fs_file_path = argv[1];
22  client(fs_file_path);
23  }
24 }