brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 49afda5 Raw
39 lines · c
1/*2 * kmp_io.h -- RTL IO header file.3 */4 5//===----------------------------------------------------------------------===//6//7// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.8// See https://llvm.org/LICENSE.txt for license information.9// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception10//11//===----------------------------------------------------------------------===//12 13#ifndef KMP_IO_H14#define KMP_IO_H15 16#ifdef __cplusplus17extern "C" {18#endif19 20/* ------------------------------------------------------------------------ */21 22enum kmp_io { kmp_out = 0, kmp_err };23 24extern kmp_bootstrap_lock_t __kmp_stdio_lock; /* Control stdio functions */25extern kmp_bootstrap_lock_t26    __kmp_console_lock; /* Control console initialization */27 28extern void __kmp_vprintf(enum kmp_io stream, char const *format, va_list ap);29extern void __kmp_printf(char const *format, ...);30extern void __kmp_printf_no_lock(char const *format, ...);31extern void __kmp_fprintf(enum kmp_io stream, char const *format, ...);32extern void __kmp_close_console(void);33 34#ifdef __cplusplus35}36#endif37 38#endif /* KMP_IO_H */39