fcntl.h 1.1 KB

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