aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/fcntl.h
blob: fe0e56a99f80c8fb9b5b5e9da8208c119d764be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"fixinc/tests/inc/fcntl.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */

#ifndef FIXINC_WRAP_FCNTL_H_AIX_EXTERNC
#define FIXINC_WRAP_FCNTL_H_AIX_EXTERNC 1

#ifdef __cplusplus
extern "C" {
#endif


#if defined( AAB_AIX_FCNTL_CHECK )

#endif  /* AAB_AIX_FCNTL_CHECK */


#if defined( VXWORKS_POSIX_OPEN_CHECK )
extern int open (const char *, int, int);

#if defined(__cplusplus)
extern "C++" {
  inline int open (const char *, int) __attribute__((__always_inline__));

  inline int
  open (const char *name, int flags)
  {
    return open (name, flags, 0);
  }
}
#endif

extern int open (const char *name, int flags, int mode );

#if defined(__cplusplus)
extern "C++" {
  inline int open (const char *, int) __attribute__((__always_inline__));

  inline int
  open (const char *name, int flags)
  {
    return open (name, flags, 0);
  }
}
#endif


#endif  /* VXWORKS_POSIX_OPEN_CHECK */
#ifdef __cplusplus
}
#endif

#endif  /* FIXINC_WRAP_FCNTL_H_AIX_EXTERNC */