#include <sys/types.h>
Go to the source code of this file.
Functions | |
int | op_write_lock_file (char const *file) |
PID-based lockfile management
Definition in file op_lockfile.h.
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.
Definition at line 42 of file op_lockfile.c.
References op_file_readable(), op_read_lock_file(), and pid.
Referenced by main().