summaryrefslogtreecommitdiff
path: root/src/lib/fs/lockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fs/lockfile.c')
-rw-r--r--src/lib/fs/lockfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/fs/lockfile.c b/src/lib/fs/lockfile.c
index 3fc9cd4264..972fd5658d 100644
--- a/src/lib/fs/lockfile.c
+++ b/src/lib/fs/lockfile.c
@@ -3,6 +3,13 @@
* Copyright (c) 2007-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+/**
+ * \file lockfile.c
+ *
+ * \brief Implements lock files to prevent two Tor processes from using the
+ * same data directory at the same time.
+ **/
+
#include "orconfig.h"
#include "lib/fs/files.h"
#include "lib/fs/lockfile.h"