pidfile_lock
pid_t pidfile_lock(const char *);
pid = pidfile_lock(path);
if (pidfile_lock(NULL) == -1)
if (pidfile_lock(NULL) == -1)
if ((pid = pidfile_lock(pidfilepath)) != 0) {
if (pidfile_lock(pidfilepath) != 0)