Searched refs:pid_file_handle (Results 1 – 1 of 1) sorted by relevance
130 static int pid_file_handle; variable202 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);203 if (pid_file_handle == -1) {209 if (lockf(pid_file_handle, F_TLOCK, 0) == -1) {211 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {218 ret = write(pid_file_handle, str, strlen(str));