USING THE OPERATING SYSTEM
CHAPTER 2:-
- A file is defined as a named, linear stream of bytes of information kept
on a device.
- 3 main system calls mentioned in the book is:- First is called Fork( ) -
creating a child process that executes the same program and functions as the
original process. This new process ( the child process ) then coexist and
proceeds concurrently. Second named Quit( ) - which performs the destroy process
or in other words terminating itself. Thirdly called Join( ) - with the function
of merging 2 or more processes to one single process.
- Multiple single threaded processes of the UNIX MODEL has :- a) text segment;
compiled binary structures, b)data segment; contains static variables and
c)stack segment; runtime stack to store temporary variables. The default file
it is stored is a.out.