74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#ifndef O_EXLOCK
# define O_EXLOCK 0
#endif
#ifndef OF_AMIGAOS
# define closeHandle(h) close(h)
#else
struct of_file_handle {
of_file_handle_t previous, next;
BPTR handle;
bool append;
} *firstHandle = NULL;
static void
closeHandle(of_file_handle_t handle)
|
|
|
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#ifndef O_EXLOCK
# define O_EXLOCK 0
#endif
#ifndef OF_AMIGAOS
# define closeHandle(h) close(h)
#else
static struct of_file_handle {
of_file_handle_t previous, next;
BPTR handle;
bool append;
} *firstHandle = NULL;
static void
closeHandle(of_file_handle_t handle)
|