diff options
Diffstat (limited to 'source4/lib/util/pidfile.c')
-rw-r--r-- | source4/lib/util/pidfile.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source4/lib/util/pidfile.c b/source4/lib/util/pidfile.c index 9a7c197f70..7f56fa5641 100644 --- a/source4/lib/util/pidfile.c +++ b/source4/lib/util/pidfile.c @@ -27,8 +27,15 @@ #define O_NONBLOCK #endif -/* return the pid in a pidfile. return 0 if the process (or pidfile) - does not exist */ +/** + * @file + * @brief Pid file handling + */ + +/** + * return the pid in a pidfile. return 0 if the process (or pidfile) + * does not exist + */ pid_t pidfile_pid(const char *name) { int fd; @@ -73,7 +80,9 @@ pid_t pidfile_pid(const char *name) return 0; } -/* create a pid file in the pid directory. open it and leave it locked */ +/** + * create a pid file in the pid directory. open it and leave it locked + */ void pidfile_create(const char *name) { int fd; |