Part B.
Use existing system calls open/close/write to build your own library to handle buffered IO in xv6. You should define struct FILE and consider fully buffered mode.
Interface:
FILE *myfopen(const char *path, char mode)
void myfclose(FILE *fp)
void myfprintf(FILE *fp, const char* s, ...)
Requirements:
In ...
Part B.
Use existing system calls open/close/write to build your own library to handle buffered IO in xv6. You should define struct FILE and consider fully buffered mode.
Interface:
FILE *myfopen(const char *path, char mode)
void myfclose(FILE *fp)
void myfprintf(FILE *fp, const char* s, ...)
Requirements:
In ...
Write a program to implement the Round Robin Scheduling Algorithm and compute the average waiting time assuming that all processes arriving at the same time.