aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-04 18:50:13 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-04 19:05:51 -0400
commitf68c042637d253dfb3160357ba2b9ec530cb48ef (patch)
tree621b700acf4646a720d47b719b30d5ebf2d51ed1 /src/common/compat.c
parent41e8bee188571ca61c2f5628ea99dff34343d673 (diff)
downloadtor-f68c042637d253dfb3160357ba2b9ec530cb48ef.tar.gz
tor-f68c042637d253dfb3160357ba2b9ec530cb48ef.zip
Resolve all currently pending DOCDOC items in master
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 093106120d..49a4afe733 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -143,7 +143,8 @@ tor_open_cloexec(const char *path, int flags, unsigned mode)
return fd;
}
-/** DOCDOC */
+/** As fpoen(path,mode), but ensures that the O_CLOEXEC bit is set on the
+ * underlying file handle. */
FILE *
tor_fopen_cloexec(const char *path, const char *mode)
{