PID-based lockfile management. More...
#include <sys/types.h>

Go to the source code of this file.
Functions | |
| int | op_write_lock_file (char const *file) |
| op_write_lock_file - write a lock file | |
PID-based lockfile management.
| int op_write_lock_file | ( | char const * | file | ) |
op_write_lock_file - write a lock file
Write the pid into the given lock file. Stale lock files are detected and reset.
References op_file_readable(), and pid.
Referenced by main().
1.6.1