DOC PREVIEW
GSU CSC 3320 - Chapter13-Named-Pipes

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Named PipesSlide 2Slide 3Named Pipes•Named pipes are less restricted than unnamed pipes and have the advantages:–Have a name that exists in the file system–May be used by unrelated processes–Exist until deleted•To create a named pipe:1. Using UNIX mknod utility2. Using mknod() system call in C code•If a process tries to open a named pipe for read only and no process currently has that file open for reading, the writer waits until the file is open.•Similarly for a writer process.•Named pipes do not work across networks•We need socket to do communication among processes across networks•Reader Program: ftp://ftp.prenhall.com/pub/esm/the_apt_series.s-042/glass_ables_unix-3e/expanded/ch13/reader.c•Writer Program:


View Full Document

GSU CSC 3320 - Chapter13-Named-Pipes

Download Chapter13-Named-Pipes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter13-Named-Pipes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter13-Named-Pipes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?