KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
stdio.h
Go to the documentation of this file.
1
/** \file sys/stdio.h
2
\brief Basic sys/stdio.h file from newlib.
3
4
This file simply defines locking for files as no-ops if they aren't defined
5
already.
6
*/
7
8
#ifndef _NEWLIB_STDIO_H
9
#define _NEWLIB_STDIO_H
10
11
// Cribbed from newlib sys/stdio.h
12
13
/* Internal locking macros, used to protect stdio functions. In the
14
general case, expand to nothing. */
15
#if !defined(_flockfile)
16
/** \brief No-op lock on a file
17
\param fp The file to lock.
18
*/
19
# define _flockfile(fp)
20
#endif
21
22
#if !defined(_funlockfile)
23
/** \brief No-op unlock a file
24
\param fp The file to unlock.
25
*/
26
# define _funlockfile(fp)
27
#endif
28
29
// Added for old KOS source compatibility
30
#include <
kos/dbglog.h
>
31
32
#endif
/* _NEWLIB_STDIO_H */
dbglog.h
A debugging log.
include
sys
stdio.h
Generated by
1.11.0