Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(820)

Issue 11773041: Add function for finding what a InputStream or OutputStream is attached to (Closed)

Created:
7 years, 11 months ago by Søren Gjesse
Modified:
7 years, 11 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org, dgrove
Visibility:
Public.

Description

Add function for finding what a InputStream or OutputStream is attached to For the dart:io types InputStream and OutputStream the top level function stdioType will return whether the stream is attached to a terminal, pipe, file or something else. BUG=dart:2789 R=ager@google.com Committed: https://code.google.com/p/dart/source/detail?r=16839

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -9 lines) Patch
M runtime/bin/io_natives.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/bin/socket.h View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/bin/socket.cc View 2 chunks +17 lines, -1 line 0 comments Download
M runtime/bin/socket_linux.cc View 3 chunks +14 lines, -1 line 0 comments Download
M runtime/bin/socket_macos.cc View 3 chunks +14 lines, -1 line 0 comments Download
M runtime/bin/socket_win.cc View 2 chunks +13 lines, -1 line 0 comments Download
M runtime/bin/stdio_patch.dart View 2 chunks +8 lines, -2 lines 0 comments Download
M sdk/lib/io/stdio.dart View 3 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Søren Gjesse
7 years, 11 months ago (2013-01-08 12:24:52 UTC) #1
Mads Ager (google)
7 years, 11 months ago (2013-01-09 09:05:35 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698