aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-20 20:34:15 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-20 20:34:15 +0200
commitfe0e426be434bf77a2200b57ddfee95decf9ceda (patch)
tree4a391412d7e97279aafd13f975dd83743fa55b7b /src/common/util.h
parentMerge pull request #4626 (diff)
parentspawn: close all file descriptors before execve (diff)
downloadmonero-fe0e426be434bf77a2200b57ddfee95decf9ceda.tar.xz
Merge pull request #4629
c7743929 spawn: close all file descriptors before execve (moneromooo-monero)
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index ce773bd38..e793a42b5 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -238,4 +238,6 @@ namespace tools
#ifdef _WIN32
std::string input_line_win();
#endif
+
+ void closefrom(int fd);
}