stdio.h

来自「这是leon3处理器的交叉编译链」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef _NEWLIB_STDIO_H#define _NEWLIB_STDIO_H#include <sys/lock.h>#include <sys/reent.h>/* Internal locking macros, used to protect stdio functions.  In the   general case, expand to nothing. Use __SSTR flag in FILE _flags to   detect if FILE is private to sprintf/sscanf class of functions; if   set then do nothing as lock is not initialised. */#if !defined(_flockfile)#ifndef __SINGLE_THREAD__#  define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock))#else#  define _flockfile(fp)#endif#endif#if !defined(_funlockfile)#ifndef __SINGLE_THREAD__#  define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock))#else#  define _funlockfile(fp)#endif#endif#endif /* _NEWLIB_STDIO_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?