libgo/misc/cgo/testcarchive/testdata/main_windows.c
raw| 1 | // Copyright 2015 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | /* |
| 6 | * Dummy implementations for Windows, because Windows doesn't |
| 7 | * support Unix-style signal handling. |
| 8 | */ |
| 9 | |
| 10 | int install_handler() { |
| 11 | return 0; |
| 12 | } |
| 13 | |
| 14 | |
| 15 | int check_handler() { |
| 16 | return 0; |
| 17 | } |