diff options
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 2471e6b830..9eaf77a1d7 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -340,6 +340,9 @@ struct tm *tor_gmtime_r(const time_t *timep, struct tm *result); ((tvp)->tv_sec cmp (uvp)->tv_sec)) /* ===== File compatibility */ + +int tor_open_cloexec(const char *path, int flags, unsigned mode); + int replace_file(const char *from, const char *to); int touch_file(const char *fname); |