diff options
Diffstat (limited to 'src/pkg/runtime/cgo/libcgo.h')
| -rw-r--r-- | src/pkg/runtime/cgo/libcgo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/runtime/cgo/libcgo.h b/src/pkg/runtime/cgo/libcgo.h index 251fb4c68e..799af05ead 100644 --- a/src/pkg/runtime/cgo/libcgo.h +++ b/src/pkg/runtime/cgo/libcgo.h @@ -58,3 +58,8 @@ void crosscall_amd64(void (*fn)(void)); * Call fn in the 8c world. */ void crosscall_386(void (*fn)(void)); + +/* + * Prints error then calls abort. For linux and android. + */ +void fatalf(const char* format, ...); |
