F_TLOCK
#ifndef F_TLOCK
if (cmd != F_TLOCK || len != 0)
if (lockf(fd, F_TLOCK, 0) < 0) {
if (lockf(pid_file_handle, F_TLOCK, 0) == -1) {