Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
0Activity
×
P. 1
Unix Seminar 14.1,2,3

Unix Seminar 14.1,2,3

Ratings: (0)|Views: 53|Likes:
Published by anil_shenoy

More info:

categoriesTypes, School Work
Published by: anil_shenoy on Oct 03, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT or read online from Scribd
See More
See less

10/11/2012

original

 
Interprocess Communication
 A capability supported by some operating systems thatallows one
process 
to communicate withanother process.
Introduction
Pipes
popen and pclose functions
1
 
Introduction
Forms of IPC
Pipes(half duplex)
FIFO(named pipes)
Stream pipes(full duplex)
Named stream pipes B/W process on
Message queues the same host
Semaphores
Shared memory
Sockets processes on diff.
Streams hosts
2
 
Pipes
 
#include<unistd.h>int pipe(int filedes[2]);filedes[0] open for readingFiledes[1] open for writing
return 0 if ok -1 on error 
333

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)//-->