Path: blob/main/contrib/llvm-project/openmp/runtime/src/kmp_io.h
35258 views
/*1* kmp_io.h -- RTL IO header file.2*/34//===----------------------------------------------------------------------===//5//6// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.7// See https://llvm.org/LICENSE.txt for license information.8// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception9//10//===----------------------------------------------------------------------===//1112#ifndef KMP_IO_H13#define KMP_IO_H1415#ifdef __cplusplus16extern "C" {17#endif1819/* ------------------------------------------------------------------------ */2021enum kmp_io { kmp_out = 0, kmp_err };2223extern kmp_bootstrap_lock_t __kmp_stdio_lock; /* Control stdio functions */24extern kmp_bootstrap_lock_t25__kmp_console_lock; /* Control console initialization */2627extern void __kmp_vprintf(enum kmp_io stream, char const *format, va_list ap);28extern void __kmp_printf(char const *format, ...);29extern void __kmp_printf_no_lock(char const *format, ...);30extern void __kmp_fprintf(enum kmp_io stream, char const *format, ...);31extern void __kmp_close_console(void);3233#ifdef __cplusplus34}35#endif3637#endif /* KMP_IO_H */383940