diff options
Diffstat (limited to 'gnu/lib/libg++/g++-include/fcntl.h')
| -rw-r--r-- | gnu/lib/libg++/g++-include/fcntl.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/lib/libg++/g++-include/fcntl.h b/gnu/lib/libg++/g++-include/fcntl.h new file mode 100644 index 000000000000..48637ef0167f --- /dev/null +++ b/gnu/lib/libg++/g++-include/fcntl.h @@ -0,0 +1,29 @@ +#ifndef fcntl_h + +extern "C" { + +#ifdef __fcntl_h_recursive +#include_next <fcntl.h> +#else +#define fcntl __hide_fcntl +#define open __hide_open +#define creat __hide_creat + +#define __fcntl_h_recursive +#include <_G_config.h> +#include_next <fcntl.h> + +#undef fcntl +#undef open +#undef creat + +#define fcntl_h 1 + +int fcntl(int, int, ...); +int creat _G_ARGS((const char*, unsigned short int)); + +int open _G_ARGS((const char*, int, ...)); + +#endif +} +#endif |
