|
@ -58,20 +58,6 @@ namespace l |
|
|
return ((flags_ & O_ACCMODE) == O_RDONLY); |
|
|
return ((flags_ & O_ACCMODE) == O_RDONLY); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static |
|
|
|
|
|
bool |
|
|
|
|
|
wronly(const int flags_) |
|
|
|
|
|
{ |
|
|
|
|
|
return ((flags_ & O_ACCMODE) == O_WRONLY); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static |
|
|
|
|
|
bool |
|
|
|
|
|
rdwr(const int flags_) |
|
|
|
|
|
{ |
|
|
|
|
|
return ((flags_ & O_ACCMODE) == O_RDWR); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static |
|
|
static |
|
|
bool |
|
|
bool |
|
|
calculate_flush(FlushOnClose const flushonclose_, |
|
|
calculate_flush(FlushOnClose const flushonclose_, |
|
|