Tcl Source Code

Artifact [0f7bc246b4]
Login

Artifact 0f7bc246b46a3482ccead3877fb3c8c828242a10:

Attachment "close.diff" to ticket [941377ffff] added by davidw 2004-04-24 23:37:47.
Index: close.n
===================================================================
RCS file: /cvsroot/tcl/tcl/doc/close.n,v
retrieving revision 1.4
diff -u -r1.4 close.n
--- close.n	14 Sep 2001 19:20:40 -0000	1.4
+++ close.n	24 Apr 2004 16:08:46 -0000
@@ -58,8 +58,10 @@
 that all output is correctly flushed before the process exits.
 .VE
 .PP
-The command returns an empty string, and may generate an error if
-an error occurs while flushing output.
+The command returns an empty string, and may generate an error if an
+error occurs while flushing output.  If a command in a command
+pipeline created with \fBopen\fR returns an error, \fBclose\fR
+generates a Tcl error.
 
 .SH "SEE ALSO"
 file(n), open(n), socket(n), eof(n), Tcl_StandardChannels(3)