Unix Programming - Program to generate SIGPIPE signal in FIFO

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2007 > Program to generate SIGPIPE signal in FIFO





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Program to generate SIGPIPE signal in FIFO
David

2007-04-25, 1:24 pm

Hi,

How to write a program in C that generates a SIGPIPE signal in FIFO.
Can someone please provide the solution.

David

Barry Margolin

2007-04-26, 1:18 am

In article <1177522892.256319.295780@r3g2000prh.googlegroups.com>,
David <Vishal.Patil29@gmail.com> wrote:

> Hi,
>
> How to write a program in C that generates a SIGPIPE signal in FIFO.
> Can someone please provide the solution.


If the reading process closes its end of the pipe, the writing process
will get a SIGPIPE signal when it next tries to write to it.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com