UNIT-VI System Structure
UNIT-VI System Structure
Contents-
end, abort
load, execute
create process, terminate process
get process attributes, set process attributes
wait for time
wait event, signal event
allocate and free memory
File Management
create file, delete file
open, close file
read, write, reposition
get and set file attributes
Device management
Protection
control access to resources
get and set permissions
allow and deny user access
Examples of Windows and Unix System Calls
Example of Standard C Library
C program invoking the printf() statement
MS-DOS execution: An Example
Single-tasking
No process created
1. https://users.cs.cf.ac.uk/Dave.Marshall/C/node20.html
Management
open()
close()
read()
write()
lseek()
opendir(0
readdir()
closedir()
rewinddir()