chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] large amount of data will break open-pipe


From: John Cowan
Subject: Re: [Chicken-users] large amount of data will break open-pipe
Date: Tue, 6 May 2008 00:20:11 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Lui Fungsin scripsit:

> For example, a typical C program will ignore SIGPIPE, and check for
> return code for every write/fprintf.

Most C programs don't seem to ignore SIGPIPE; in fact, the reason it exists
is to allow programs to be killed silently when their output is no longer
wanted by the next pipeline step.  Try <random-command> | more, get a page
of output, and hit 'q'; very few programs will report EPIPE ("svn log"
is the only one I know of).

-- 
A rabbi whose congregation doesn't want         John Cowan
to drive him out of town isn't a rabbi,         http://www.ccil.org/~cowan
and a rabbi who lets them do it                 address@hidden
isn't a man.    --Jewish saying




reply via email to

[Prev in Thread] Current Thread [Next in Thread]