use of com.oracle.svm.core.posix.headers.Stdio.FILE in project graal by oracle.
the class PosixCEntryPointSnippets method failFatally.
@Uninterruptible(reason = "Unknown thread state.")
@SubstrateForeignCallTarget
private static void failFatally(int code, CCharPointer message) {
FILE stderr = fdopen(2, FAIL_FATALLY_FDOPEN_MODE.get());
fprintfSD(stderr, FAIL_FATALLY_MESSAGE_FORMAT.get(), message, code);
LibC.exit(code);
}
Aggregations