LLVM OpenMP* Runtime Library
kmp_io.h
1 /*
2  * kmp_io.h -- RTL IO header file.
3  */
4 
5 //===----------------------------------------------------------------------===//
6 //
7 // The LLVM Compiler Infrastructure
8 //
9 // This file is dual licensed under the MIT and the University of Illinois Open
10 // Source Licenses. See LICENSE.txt for details.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef KMP_IO_H
15 #define KMP_IO_H
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /* ------------------------------------------------------------------------ */
22 
23 enum kmp_io { kmp_out = 0, kmp_err };
24 
25 extern kmp_bootstrap_lock_t __kmp_stdio_lock; /* Control stdio functions */
26 extern kmp_bootstrap_lock_t
27  __kmp_console_lock; /* Control console initialization */
28 
29 extern void __kmp_vprintf(enum kmp_io __kmp_io, char const *format, va_list ap);
30 extern void __kmp_printf(char const *format, ...);
31 extern void __kmp_printf_no_lock(char const *format, ...);
32 extern void __kmp_close_console(void);
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* KMP_IO_H */