Professional Documents
Culture Documents
Introduction
• IPC stands for interprocess communication
Inter-process Communication • Establishing communication between different
processes that are running on system.
(IPC) – System V IPC (added to System V kernels in 1980s)
Harshad B. Prajapati – POSIX IPC (added in 1993-1994)
Associate Professor
Information Technology Department,
Dharmsinh Desai University, Nadiad
• Both System V IPC and POSIX IPC offer similar
functionalities, the difference is in the
interfaces (names of functions)
1
7/21/2017
2
7/21/2017
3
7/21/2017
4
7/21/2017
5
7/21/2017
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#define FILE_MODE
O_CREAT|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH
6
7/21/2017
7
7/21/2017
2
2
1
1 3
3