Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Prog-II

Prog-II

Ratings: (0)|Views: 1 |Likes:
Prog-II
Prog-II

More info:

Published by: Anantatmakula Venkata Satya Aditya on Mar 24, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/10/2014

pdf

text

original

 
UNIX Systems Programming IIShort Course NotesAlan Dix © 1996
UNIX
SystemsProgramming
II
UNIX
SystemsProgramming
II
UNIX
SystemsProgramming
II
UNIX
SystemsProgramming
II
UNIX
SystemsProgramming
II
 
UNIX
SystemsProgramming
II
Short Course NotesAlan Dix © 1996II/
i
UNIX
SystemsProgramming
II
CourseOutline
Session 1files and devices
inodes, stat, /dev files, ioctl,reading directories,file descriptor sharing and dup2,locking and network caching
Session 2process handling
UNIX
processes, fork, exec,process death:
SIGCHLD
and wait,kill and
I/O
issues for fork 
Session 3inter-processcommunication
pipes: at the shell , in C code anduse with exec, pseudo-terminals,sockets and deadlock avoidance
Session 4non-blocking
I/O
andselect
UNIX events: signals, times and
I/O
; setting timers, polling, select,interaction with signals and anexample Internet server
 
UNIX
SystemsProgramming
II
Short Course NotesAlan Dix © 1996II/
ii
UNIX
SystemsProgramming
II
Reading
¥The Unix V Environment,Stephen R. Bourne,Wiley, 1987, ISBN 0 201 18484 2
The author of the Borne Shell! A 'classic' which deals with systemcalls, the shell and other aspects of UNIX.
¥Unix For Programmers and Users,Graham Glass,Prentice-Hall, 1993, ISBN 0 13 061771 7
Slightly more recent book also covering shell and C programming.
Ì
BEWARE ÐUNIX systems differ in details,check on-line documentation¥UNIX manual pages:
man creat
 
etc.
Most of the system calls and functions are in section 2 and 3 of themanual. The pages are useful once you get used to reading them!
¥The include files themselves
/usr/include/time.h
 
etc.
Takes even more getting used to, but the ultimate reference tostructures and definitions on your system.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->