OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 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 | 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 #if !defined(DART_IO_DISABLED) | 5 #if !defined(DART_IO_DISABLED) |
6 | 6 |
7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
8 #if defined(HOST_OS_FUCHSIA) | 8 #if defined(HOST_OS_FUCHSIA) |
9 | 9 |
10 #include "bin/process.h" | 10 #include "bin/process.h" |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 return -1; | 801 return -1; |
802 } | 802 } |
803 ProcessStarter starter(path, arguments, arguments_length, working_directory, | 803 ProcessStarter starter(path, arguments, arguments_length, working_directory, |
804 environment, environment_length, mode, in, out, err, | 804 environment, environment_length, mode, in, out, err, |
805 id, exit_event, os_error_message); | 805 id, exit_event, os_error_message); |
806 return starter.Start(); | 806 return starter.Start(); |
807 } | 807 } |
808 | 808 |
809 | 809 |
810 intptr_t Process::SetSignalHandler(intptr_t signal) { | 810 intptr_t Process::SetSignalHandler(intptr_t signal) { |
811 UNIMPLEMENTED(); | 811 errno = ENOSYS; |
812 return -1; | 812 return -1; |
813 } | 813 } |
814 | 814 |
815 | 815 |
816 void Process::ClearSignalHandler(intptr_t signal) { | 816 void Process::ClearSignalHandler(intptr_t signal) { |
817 UNIMPLEMENTED(); | |
818 } | 817 } |
819 | 818 |
820 } // namespace bin | 819 } // namespace bin |
821 } // namespace dart | 820 } // namespace dart |
822 | 821 |
823 #endif // defined(HOST_OS_FUCHSIA) | 822 #endif // defined(HOST_OS_FUCHSIA) |
824 | 823 |
825 #endif // !defined(DART_IO_DISABLED) | 824 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |