3 //=============================================================================
7 * standard buffered input/output
9 * @author Don Hinton <dhinton@dresystems.com>
10 * @author This code was originally in various places including ace/OS.h.
12 //=============================================================================
14 #ifndef ACE_OS_INCLUDE_OS_STDIO_H
15 #define ACE_OS_INCLUDE_OS_STDIO_H
17 #include /**/ "ace/pre.h"
19 #include /**/ "ace/config-lite.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 // NOTE: stdarg.h must be #included before stdio.h on LynxOS.
26 #include "ace/os_include/os_stdarg.h"
27 #include "ace/os_include/os_stddef.h"
29 #if !defined (ACE_LACKS_STDIO_H)
30 # include /**/ <stdio.h>
31 #endif /* !ACE_LACKS_STDIO_H */
33 #if defined (ACE_VXWORKS)
34 // for remove(), rename()
35 # include /**/ <ioLib.h>
37 # include /**/ <remLib.h>
38 #endif /* ACE_VXWORKS */
40 // Place all additions (especially function declarations) within extern "C" {}
44 #endif /* __cplusplus */
46 # if defined (INTEGRITY)
47 # define ACE_MAX_USERID 32
48 # elif defined (ACE_WIN32)
49 # define ACE_MAX_USERID 32
51 # if defined (_POSIX_SOURCE) && defined (L_cuserid)
52 # define ACE_MAX_USERID L_cuserid
54 # define ACE_MAX_USERID 9
56 # endif /* INTEGRITY */
59 # define ACE_STREAMBUF_SIZE BUFSIZ
61 # define ACE_STREAMBUF_SIZE 1024
64 #if defined (ACE_WIN32)
65 typedef OVERLAPPED ACE_OVERLAPPED
;
69 unsigned long Internal
;
70 unsigned long InternalHigh
;
72 unsigned long OffsetHigh
;
75 #endif /* ACE_WIN32 */
79 #endif /* __cplusplus */
81 #include /**/ "ace/post.h"
82 #endif /* ACE_OS_INCLUDE_OS_STDIO_H */