diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-02-28 13:12:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:09 -0500 |
commit | aa04388943fe5d7d8c873a6ee8a4cc9af2491532 (patch) | |
tree | 8073b268875c22e8e0785ddffef42fcf3af3dac1 /source4/lib/util/pidfile.c | |
parent | 4d3cc7384338fe2182a2029c2e6d2fcca2ec8813 (diff) | |
download | samba-aa04388943fe5d7d8c873a6ee8a4cc9af2491532.tar.gz samba-aa04388943fe5d7d8c873a6ee8a4cc9af2491532.tar.bz2 samba-aa04388943fe5d7d8c873a6ee8a4cc9af2491532.zip |
r13752: Add doxyfile and fix formatting of comments. Current output is available at http://samba.org/~jelmer/util-api/
(This used to be commit 90812203df151a5e62394306827c72adfe13c63c)
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; |