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 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 environment, environment_length, mode, in, out, err, | 860 environment, environment_length, mode, in, out, err, |
861 id, exit_event, os_error_message); | 861 id, exit_event, os_error_message); |
862 return starter.Start(); | 862 return starter.Start(); |
863 } | 863 } |
864 | 864 |
865 intptr_t Process::SetSignalHandler(intptr_t signal) { | 865 intptr_t Process::SetSignalHandler(intptr_t signal) { |
866 errno = ENOSYS; | 866 errno = ENOSYS; |
867 return -1; | 867 return -1; |
868 } | 868 } |
869 | 869 |
870 void Process::ClearSignalHandler(intptr_t signal) {} | 870 void Process::ClearSignalHandler(intptr_t signal, Dart_Port port) {} |
871 | 871 |
872 } // namespace bin | 872 } // namespace bin |
873 } // namespace dart | 873 } // namespace dart |
874 | 874 |
875 #endif // defined(HOST_OS_FUCHSIA) | 875 #endif // defined(HOST_OS_FUCHSIA) |
876 | 876 |
877 #endif // !defined(DART_IO_DISABLED) | 877 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |