Unit III
Unit III
■ Create a file
■ Create a directory
■ Open a file (for read ,write,or both)
■ Close a file
■ Read data from file to buffer
■ Write a data from buffer to file
■ Move the file pointer
■ read & return file status
■ Create a link
■ Change working directory
Process Management
■ Arrival
■ Scheduling
■ Preemption
■ Completion
Arrival
P1 P2 P3
0 24 27 30
0 3 6 30
0 3 7 8 12 16
0 2 4 5 7 11 16
P1 P2 P3 P4 P1 P3 P4 P1 P3 P3