LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
stdio.h
Go to the documentation of this file.
1#ifndef _NEWLIB_STDIO_H
2#define _NEWLIB_STDIO_H
3
4/* Internal locking macros, used to protect stdio functions. In the
5 general case, expand to nothing. */
6#if !defined(_flockfile)
7# if !defined(__SINGLE_THREAD__)
8# define _flockfile(fp) { ((fp)->_flags&__SSTR) ? 0 : __flockfile(fp); }
9 extern void __flockfile(FILE *fp);
10# else
11# define _flockfile(fp)
12# endif
13#endif /* __SINGLE_THREAD__ */
14
15#if !defined(_funlockfile)
16# if !defined(__SINGLE_THREAD__)
17# define _funlockfile(fp) { ((fp)->_flags&__SSTR) ? 0 : __funlockfile(fp); }
18 extern void __funlockfile(FILE *fp);
19# else
20# define _funlockfile(fp)
21# endif
22#endif /* __SINGLE_THREAD__ */
23
24#endif /* _NEWLIB_STDIO_H */
25
void __funlockfile(FILE *fp)
void __flockfile(FILE *fp)