Question: CS214 System Programming, Please help, to create the C code CS 214: Systems Programming, Spring 2017 Assignment 3: Wherefore Art Thou, File? In this project

CS214 System Programming, Please help, to create the C code  CS214 System Programming, Please help, to create the C code CS
214: Systems Programming, Spring 2017 Assignment 3: Wherefore Art Thou, File? In
this project you will write a remote file server that is mostly
transparent to the user. You must first complete the base program'segment below,
but you are then free to choose which other extensions you implement,
one proviso; you can not implement extension Dunless you also with implement
extension C.If you complete all parts, you will receive 160% credit. Base

CS 214: Systems Programming, Spring 2017 Assignment 3: Wherefore Art Thou, File? In this project you will write a remote file server that is mostly transparent to the user. You must first complete the base program'segment below, but you are then free to choose which other extensions you implement, one proviso; you can not implement extension Dunless you also with implement extension C.If you complete all parts, you will receive 160% credit. Base Program: (+80% You will be providing an interface much like the standard file system calls to allow easy use of files across the network. You should write netopen'. metread. netwrite and All of these calls should use the same symtax and have the same overall functionality as their local counterparts (except where expressly exempted. but they will ship their parameters your file server where the actual file operations will happen. To your client code, it will look like open and netopen, read and netread, write and netwrite and close and netclose work almost identically, except your net commands are working on files on another machine. netopen(const char pathname, int flags) The argument flags must include one of the following access modes: O RDONLY. O WRONLY. or O RDWR These request opening the file read-only, write-only, or read write, respectively. RETURN VALUE netopen0 retums the new file descriptor, or-1in the callers contenxt if error occurred (in an which case, crmo is set appropriately) In order to avoid error and disambiguate your file descriptors from the system's make your file descriptors negative (but not-19. ERRORS (check open manpage for definition) reqiured: EINTR. EISDIR. ENOENT EROFS optional (you may wantinced) ENFILE EWOULDBLOCK. EPERM

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!