Go to the documentation of this file.
8 #ifndef _STRFILE_DEFINED
10 #define _STRFILE_DEFINED
18 #if defined( __AMX__ )
28 #elif defined( __MSDOS16__ ) || defined( __WIN16__ )
39 #elif defined( __IBM4758__ )
50 #elif defined( __MAC__ )
53 #if defined __MWERKS__
54 #pragma mpwc_relax off
55 #pragma extended_errorcheck on
64 #elif defined( __OS2__ )
66 #define INCL_DOSFILEMGR
78 #elif defined( __FileX__ )
88 #elif defined( __ITRON__ )
97 #error You need to set up the ITRON/FILE headers and interface in str_file.c
105 #elif defined( __BEOS__ ) || defined( __ECOS__ ) || defined( __MVS__ ) || \
106 defined( __RTEMS__ ) || defined( __SYMBIAN32__ ) || \
107 defined( __TANDEM_NSK__ ) || defined( __TANDEM_OSS__ ) || \
110 #if defined( __TANDEM_NSK__ ) || defined( __TANDEM_OSS__ )
112 #define _XOPEN_SOURCE_EXTENDED 1
116 #include <sys/types.h>
117 #if !( defined( __ECOS__ ) || defined( __TANDEM_NSK__ ) || \
118 defined( __TANDEM_OSS__ ) )
119 #include <sys/file.h>
121 #include <sys/stat.h>
122 #if !( defined( __APPLE__ ) || defined( __BEOS__ ) || \
123 defined( __bsdi__ ) || defined( _CRAY ) || \
124 defined( __CYGWIN__ ) || defined( __FreeBSD__ ) || \
125 defined( __hpux ) || defined( __linux__ ) || \
126 defined( _M_XENIX ) || defined( __MVS__ ) || \
127 defined( __NetBSD__ ) || defined( __OpenBSD__ ) || \
128 defined( __QNX__ ) || ( defined( sun ) && OSVERSION == 4 ) || \
129 defined ( __SYMBIAN32__ ) || defined( __TANDEM_NSK__ ) || \
130 defined( __TANDEM_OSS__ ) || defined( USE_EMBEDDED_OS ) )
131 #include <sys/mode.h>
134 #if defined( _AIX ) || defined( __alpha__ ) || defined( __BEOS__ ) || \
135 defined( __bsdi__ ) || defined( _CRAY ) || defined( __FreeBSD__ ) || \
136 defined( __linux__ ) || defined( _MPRAS ) || defined( __MVS__ ) || \
137 defined( _M_XENIX ) || defined( __NetBSD__ ) || \
138 defined( __OpenBSD__ ) || defined( __osf__ ) || defined( __QNX__ ) || \
139 defined( __SCO_VERSION__ ) || defined( sun ) || \
140 defined( __TANDEM_NSK__ ) || defined( __TANDEM_OSS__ )
143 #if defined( __APPLE__ ) || defined( __linux__ )
144 #include <sys/time.h>
147 #include <sys/utime.h>
162 #if defined( _AIX ) || defined( __BEOS__ ) || defined( __CYGWIN__ ) || \
163 defined( __hpux ) || defined( _MPRAS ) || defined( __MVS__ ) || \
164 defined( _M_XENIX ) || defined( __SCO_VERSION__ ) || \
165 ( defined( sun ) && ( OSVERSION >= 5 ) ) || \
166 defined( __TANDEM_NSK__ ) || defined( __TANDEM_OSS__ )
167 #define USE_FCNTL_LOCKING
173 #if ( defined( _M_XENIX ) && ( OSVERSION == 3 ) )
174 #define ftruncate( a, b ) chsize( a, b )
179 #if defined( __CYGWIN__ ) && !defined( LOCK_SH )
192 #elif defined( __VXWORKS__ )
197 #include <vwModNum.h>
205 #elif defined( __XMK__ )