Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSC-322 Project File System (FS), Part 3 Points: 100 In this part of the project, you will have to implement your File System in C/C++,

image text in transcribedimage text in transcribedimage text in transcribed

CSC-322 Project File System (FS), Part 3 Points: 100 In this part of the project, you will have to implement your File System in C/C++, which would provide following API functions: Function Description CSC322 open CSC322FILE* CSC322 fopen(const char "filename, const char mode Functionality and parameter list like in fopen() function. MSDN: htt msdn microsoft.com/en-us/libra eby3zcb.aspx Instead of pointer to FILE, your function should return pointer to CSC322FILE a RAM structure which you designed in Part 2 for the management of a file CSC322FILE should be used in all other functions instead of FILE when relevant File names supported: character string 1 to 64 character long e Only "rb "wb", w +b ab" should be supported CSC322 fclose int CSC322 fclose (CSC322 FILE *stream) This function should perform cleanup appropriate to the elaborated solution. Functionality and parameter list like in fclosel) function MSDN: htt msdn microsoft.com/en us/libra fxfswy 25t.aspx CSc322 fread int CSC322 fread (void *buffer, size t nBytes, CSC322FILE stream); Functionality and parameter list like in fread(U function. MSDN tt msdn.microsoft.com/en-us/libra ktoetdcs.aspx SCS322 fwrite int CSC322 fwrite(void *buffer, size t nBytes, CSC322FILE*stream); Functionality and parameter list similar fwrite() function. MSDN tt msdn.microsoft.com/en-us/libra h9t88zwz.aspxt csc322 fseek int csc322 fseek (csc322FILE *stream, long offset, int origin), Functionality and parameter list like in fseek0 function. MSDN htt msdn.microsoft.com/en-us/libra 75yw9bf3.aspx CSC322 ftell long CSC322 ftell(CSC322FILE *stream Functionality and parameter list like in ftellO function. MSDN: htt msdn.microsoft.com/en-us/librar 0ys3hc0b.aspx CSC-322 Project File System (FS), Part 3 Points: 100 In this part of the project, you will have to implement your File System in C/C++, which would provide following API functions: Function Description CSC322 open CSC322FILE* CSC322 fopen(const char "filename, const char mode Functionality and parameter list like in fopen() function. MSDN: htt msdn microsoft.com/en-us/libra eby3zcb.aspx Instead of pointer to FILE, your function should return pointer to CSC322FILE a RAM structure which you designed in Part 2 for the management of a file CSC322FILE should be used in all other functions instead of FILE when relevant File names supported: character string 1 to 64 character long e Only "rb "wb", w +b ab" should be supported CSC322 fclose int CSC322 fclose (CSC322 FILE *stream) This function should perform cleanup appropriate to the elaborated solution. Functionality and parameter list like in fclosel) function MSDN: htt msdn microsoft.com/en us/libra fxfswy 25t.aspx CSc322 fread int CSC322 fread (void *buffer, size t nBytes, CSC322FILE stream); Functionality and parameter list like in fread(U function. MSDN tt msdn.microsoft.com/en-us/libra ktoetdcs.aspx SCS322 fwrite int CSC322 fwrite(void *buffer, size t nBytes, CSC322FILE*stream); Functionality and parameter list similar fwrite() function. MSDN tt msdn.microsoft.com/en-us/libra h9t88zwz.aspxt csc322 fseek int csc322 fseek (csc322FILE *stream, long offset, int origin), Functionality and parameter list like in fseek0 function. MSDN htt msdn.microsoft.com/en-us/libra 75yw9bf3.aspx CSC322 ftell long CSC322 ftell(CSC322FILE *stream Functionality and parameter list like in ftellO function. MSDN: htt msdn.microsoft.com/en-us/librar 0ys3hc0b.aspx

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

How will the members be held accountable?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago