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

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

Issue 13933021: Fix patch file return types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months 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/_internal/compiler/implementation/lib/io_patch.dart ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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; 5 part of dart.io;
6 6
7 // TODO(ager): The only reason for this class is that we 7 // TODO(ager): The only reason for this class is that we
8 // cannot patch a top-level at this point. 8 // cannot patch a top-level at this point.
9 class _ProcessUtils { 9 class _ProcessUtils {
10 external static _exit(int status); 10 external static void _exit(int status);
11 external static _setExitCode(int status); 11 external static void _setExitCode(int status);
12 external static _sleep(int millis); 12 external static void _sleep(int millis);
13 external static int _pid(Process process); 13 external static int _pid(Process process);
14 } 14 }
15 15
16 /** 16 /**
17 * Exit the Dart VM process immediately with the given [status] code. 17 * Exit the Dart VM process immediately with the given [status] code.
18 * 18 *
19 * This does not wait for any asynchronous operations to terminate. Using 19 * This does not wait for any asynchronous operations to terminate. Using
20 * [exit] is therefore very likely to lose data. 20 * [exit] is therefore very likely to lose data.
21 */ 21 */
22 void exit(int status) { 22 void exit(int status) {
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 /** 290 /**
291 * Contains the system message for the process exception if any. 291 * Contains the system message for the process exception if any.
292 */ 292 */
293 final String message; 293 final String message;
294 294
295 /** 295 /**
296 * Contains the OS error code for the process exception if any. 296 * Contains the OS error code for the process exception if any.
297 */ 297 */
298 final int errorCode; 298 final int errorCode;
299 } 299 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/io_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698