-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcvfs.h
More file actions
25 lines (23 loc) · 684 Bytes
/
Copy pathcvfs.h
File metadata and controls
25 lines (23 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// required header files
#include<stdio.h> // basic I/O
#include<stdlib.h> // malloc()
#include<unistd.h> // file I/O
#include<stdbool.h> // boolean
#include<string.h> // string functions
#include "limits.h" // limits
#include "structs.h" // user defined structures
#include "err.h" // error handling macros
// function prototypes
void InitializeUAREA();
void InitializeSuperBlock();
void CreateDILB();
void StartAuxillaryDataInitialization();
void DisplayHelp();
void DisplayManPage(char Name[20]);
bool IsFileExist(char *);
int CreateFile(char *,int);
void lsFile();
int UnlinkFile(char *);
int WriteFile(int,char *,int);
int ReadFile(int,char *,int);
int StatFile(char *);