OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 #if !defined(DART_IO_DISABLED) |
| 6 |
| 7 #include "platform/globals.h" |
| 8 #if defined(TARGET_OS_FUCHSIA) |
| 9 |
| 10 #include "bin/stdio.h" |
| 11 |
| 12 namespace dart { |
| 13 namespace bin { |
| 14 |
| 15 int Stdin::ReadByte() { |
| 16 UNIMPLEMENTED(); |
| 17 return -1; |
| 18 } |
| 19 |
| 20 |
| 21 bool Stdin::GetEchoMode() { |
| 22 UNIMPLEMENTED(); |
| 23 return false; |
| 24 } |
| 25 |
| 26 |
| 27 void Stdin::SetEchoMode(bool enabled) { |
| 28 UNIMPLEMENTED(); |
| 29 } |
| 30 |
| 31 |
| 32 bool Stdin::GetLineMode() { |
| 33 UNIMPLEMENTED(); |
| 34 return false; |
| 35 } |
| 36 |
| 37 |
| 38 void Stdin::SetLineMode(bool enabled) { |
| 39 UNIMPLEMENTED(); |
| 40 } |
| 41 |
| 42 |
| 43 bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) { |
| 44 UNIMPLEMENTED(); |
| 45 return false; |
| 46 } |
| 47 |
| 48 } // namespace bin |
| 49 } // namespace dart |
| 50 |
| 51 #endif // defined(TARGET_OS_FUCHSIA) |
| 52 |
| 53 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |