delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/11/19:57:00

From: hasmik AT maker DOT com (Hasmik Sarkezians)
Subject: "read" routine!
11 Dec 1997 19:57:00 -0800 :
Message-ID: <3.0.32.19971211183313.009472c0.cygnus.gnu-win32@nucleus.maker.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Does anyone know what "read" routine does when a Ctrl-C is 
issued??

My application starts a Tcl shell and if I issue a Ctrl-C from
the debugger it exits the program. I have debugged this to the point
that I think the "read" routine is not behaving like the "read" on the unix
system. The "read" on NT system returns a 0 (zero) and the Tcl application
treats that as the end-of-file and exits the program. Shouldn't the "read"
routine return some sort of error (EINTR)??

Thanks,

hasmik

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019