Ext
Main Page
Files
Examples
File List
File Members
All
Files
Functions
main.c
1
#include <stdio.h>
2
#include <fcntl.h>
3
#include <stdlib.h>
4
#include <string.h>
5
#include "FileSystem/interface/client.h"
6
7
int
main(
int
argc,
char
** argv) {
8
if
(argc < 2) {
9
fprintf(stderr,
"Path to fs file wasn't specified. Using default name!\n"
);
10
const
char
* fs_file_path =
"test_fs"
;
11
client(fs_file_path);
12
}
else
{
13
const
char
* fs_file_path = argv[1];
14
client(fs_file_path);
15
}
16
}
Generated by
1.8.6