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

Side by Side Diff: sdk/lib/io/stdio.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/socket_stream_impl.dart ('k') | sdk/lib/io/stream_util.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io;
6
7 const int _STDIO_HANDLE_TYPE_TERMINAL = 0; 5 const int _STDIO_HANDLE_TYPE_TERMINAL = 0;
8 const int _STDIO_HANDLE_TYPE_PIPE = 1; 6 const int _STDIO_HANDLE_TYPE_PIPE = 1;
9 const int _STDIO_HANDLE_TYPE_FILE = 2; 7 const int _STDIO_HANDLE_TYPE_FILE = 2;
10 const int _STDIO_HANDLE_TYPE_SOCKET = 3; 8 const int _STDIO_HANDLE_TYPE_SOCKET = 3;
11 const int _STDIO_HANDLE_TYPE_OTHER = -1; 9 const int _STDIO_HANDLE_TYPE_OTHER = -1;
12 10
13 11
14 InputStream _stdin; 12 InputStream _stdin;
15 OutputStream _stdout; 13 OutputStream _stdout;
16 OutputStream _stderr; 14 OutputStream _stderr;
(...skipping 20 matching lines...) Expand all
37 _stderr = _StdIOUtils._getStdioOutputStream(2); 35 _stderr = _StdIOUtils._getStdioOutputStream(2);
38 } 36 }
39 return _stderr; 37 return _stderr;
40 } 38 }
41 39
42 40
43 class _StdIOUtils { 41 class _StdIOUtils {
44 external static OutputStream _getStdioOutputStream(int fd); 42 external static OutputStream _getStdioOutputStream(int fd);
45 external static InputStream _getStdioInputStream(); 43 external static InputStream _getStdioInputStream();
46 } 44 }
OLDNEW
« no previous file with comments | « sdk/lib/io/socket_stream_impl.dart ('k') | sdk/lib/io/stream_util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698