aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/g++-include/fcntl.h
blob: 48637ef0167f4c8613cfa575ba4ac9599056eb9b (plain) (blame)
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
#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