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