4 * Program used when testing tclWinPipe.c
6 * Copyright (c) 1996 by Sun Microsystems, Inc.
8 * See the file "license.terms" for information on usage and redistribution
9 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
12 #ifdef TCL_BROKEN_MAINARGS
13 /* On mingw32 and cygwin this doesn't work */
31 n = _read(0, buf, sizeof(buf));
37 err = (sizeof(int) == 2) ? "stderr16" : "stderr32";
38 _write(2, err, (unsigned int)strlen(err));