Use =default for skeleton copy constructor
[ACE_TAO.git] / ACE / ace / os_include / os_stdio.h
blobc5a9bac41806fa45dcb8250ada759d70f17c7678
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file os_stdio.h
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)
22 # 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>
36 // for remCurIdGet()
37 # include /**/ <remLib.h>
38 #endif /* ACE_VXWORKS */
40 // Place all additions (especially function declarations) within extern "C" {}
41 #ifdef __cplusplus
42 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
50 # else
51 # if defined (_POSIX_SOURCE) && defined (L_cuserid)
52 # define ACE_MAX_USERID L_cuserid
53 # else
54 # define ACE_MAX_USERID 9
55 # endif
56 # endif /* INTEGRITY */
58 #if defined (BUFSIZ)
59 # define ACE_STREAMBUF_SIZE BUFSIZ
60 #else
61 # define ACE_STREAMBUF_SIZE 1024
62 #endif /* BUFSIZ */
64 #if defined (ACE_WIN32)
65 typedef OVERLAPPED ACE_OVERLAPPED;
66 #else
67 struct ACE_OVERLAPPED
69 unsigned long Internal;
70 unsigned long InternalHigh;
71 unsigned long Offset;
72 unsigned long OffsetHigh;
73 ACE_HANDLE hEvent;
75 #endif /* ACE_WIN32 */
77 #ifdef __cplusplus
79 #endif /* __cplusplus */
81 #include /**/ "ace/post.h"
82 #endif /* ACE_OS_INCLUDE_OS_STDIO_H */