define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / compiler / clib / __stdio.h
blobd76f7386fe94409eb7ab3a32e2394f0313541ce5
1 #ifndef ___STDIO_H
2 #define ___STDIO_H
4 /*
5 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: internal header file for stdio
9 Lang: English
12 #include <stdio.h>
13 #include <stddef.h>
14 #include <exec/lists.h>
16 typedef struct
18 struct MinNode Node;
19 FILE File;
20 } FILENODE;
22 #define FILENODE2FILE(fn) (&((fn)->File))
23 #define FILE2FILENODE(f) ((FILENODE *)(((char *)(f))-offsetof(FILENODE,File)))
25 int __smode2oflags(const char *mode);
26 int __oflags2sflags(int oflags);
28 #endif /* ___STDIO_H */