I was wrong, fopen(0, "r") does *not* fault on RH Linux 5.1, FreeBSD, Solaris 2.51 or SunOS. Your plan to duplicate Linux behavior is a good one. Steve - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".