diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 07:47:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 07:47:52 (GMT) |
commit | 809842a942400fa2f099485c2faa3e85d946360d (patch) | |
tree | be55463759384fa2c23bf39db82ee742bd939299 /win | |
parent | 6f541de9a3a5684df538e29e14259aecc2addeeb (diff) | |
parent | 50912fc63c46a741cbb7fd51f25beae99817eb41 (diff) | |
download | tcl-809842a942400fa2f099485c2faa3e85d946360d.zip tcl-809842a942400fa2f099485c2faa3e85d946360d.tar.gz tcl-809842a942400fa2f099485c2faa3e85d946360d.tar.bz2 |
Merge 8.5
Diffstat (limited to 'win')
-rw-r--r-- | win/cat.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,14 +28,14 @@ _tmain(void) const char *err; while (1) { - n = read(0, buf, sizeof(buf)); + n = _read(0, buf, sizeof(buf)); if (n <= 0) { break; } - write(1, buf, n); + _write(1, buf, n); } err = (sizeof(int) == 2) ? "stderr16" : "stderr32"; - write(2, err, (unsigned int)strlen(err)); + _write(2, err, (unsigned int)strlen(err)); return 0; } |