LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2005, 12:16 PM   #1
grupoapunte
LQ Newbie
 
Registered: Apr 2005
Posts: 26

Rep: Reputation: 15
Question About SIGPIPE, plz help


Hi, i want to know what happend if i capture signal SIGPIPE and do nothing with it, if thats wrong what should i do with it? can i continue executing the program by any meens?
 
Old 07-10-2005, 12:36 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Did you try Google for Linux? I searched for "SIGPIPE" and found the answer to your question on the first link.

Linux.com
 
Old 07-13-2005, 08:34 AM   #3
surojitmukerji
LQ Newbie
 
Registered: Jul 2005
Location: Pune, India
Posts: 1

Rep: Reputation: 0
The SIGPIPE signal is posted by the kernel to the writer end of a pipe which has a detatched or closed reader. You can use this signal to take any corrective actions while / before you shutdown the writer end of the pipe.

Normally the write call would error out eith an EPIPE, so handling this signal is not essential.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Retain Server Connection Up, If Client Break, write system call return SIGPIPE anandss2004 Programming 2 10-24-2005 12:16 AM
Program received signal SIGPIPE, Broken pipe. grupoapunte Programming 1 06-03-2005 05:49 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
Eterm: SIGPIPE Problem Quasaur Linux - Software 0 11-30-2003 09:55 AM
redhat problems plz plz help sap666 Linux - Newbie 5 07-30-2003 10:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration