Searched refs:pid_file_handle (Results 1 – 1 of 1) sorted by relevance
116 static int pid_file_handle; variable189 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);190 if (pid_file_handle == -1) {196 if (lockf(pid_file_handle, F_TLOCK, 0) == -1) {198 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {205 ret = write(pid_file_handle, str, strlen(str));