| 1 |
/* DO NOT EDIT THIS FILE. |
| 2 |
|
| 3 |
It has been auto-edited by fixincludes from: |
| 4 |
|
| 5 |
"fixinc/tests/inc/fcntl.h" |
| 6 |
|
| 7 |
This had to be done to correct non-standard usages in the |
| 8 |
original, manufacturer supplied header file. */ |
| 9 |
|
| 10 |
#ifndef FIXINC_WRAP_FCNTL_H_AIX_EXTERNC |
| 11 |
#define FIXINC_WRAP_FCNTL_H_AIX_EXTERNC 1 |
| 12 |
|
| 13 |
#ifdef __cplusplus |
| 14 |
extern "C" { |
| 15 |
#endif |
| 16 |
|
| 17 |
|
| 18 |
#if defined( AAB_AIX_FCNTL_CHECK ) |
| 19 |
|
| 20 |
#endif /* AAB_AIX_FCNTL_CHECK */ |
| 21 |
|
| 22 |
|
| 23 |
#if defined( VXWORKS_POSIX_OPEN_CHECK ) |
| 24 |
extern int open (const char *, int, int); |
| 25 |
|
| 26 |
#if defined(__cplusplus) |
| 27 |
extern "C++" { |
| 28 |
inline int open (const char *, int) __attribute__((__always_inline__)); |
| 29 |
|
| 30 |
inline int |
| 31 |
open (const char *name, int flags) |
| 32 |
{ |
| 33 |
return open (name, flags, 0); |
| 34 |
} |
| 35 |
} |
| 36 |
#endif |
| 37 |
|
| 38 |
extern int open (const char *name, int flags, int mode ); |
| 39 |
|
| 40 |
#if defined(__cplusplus) |
| 41 |
extern "C++" { |
| 42 |
inline int open (const char *, int) __attribute__((__always_inline__)); |
| 43 |
|
| 44 |
inline int |
| 45 |
open (const char *name, int flags) |
| 46 |
{ |
| 47 |
return open (name, flags, 0); |
| 48 |
} |
| 49 |
} |
| 50 |
#endif |
| 51 |
|
| 52 |
|
| 53 |
#endif /* VXWORKS_POSIX_OPEN_CHECK */ |
| 54 |
#ifdef __cplusplus |
| 55 |
} |
| 56 |
#endif |
| 57 |
|
| 58 |
#endif /* FIXINC_WRAP_FCNTL_H_AIX_EXTERNC */ |