Searched refs:pid_file_handle (Results 1 - 1 of 1) sorted by last modified time

/linux-master/tools/power/x86/intel-speed-select/
H A Disst-daemon.c131 static int pid_file_handle; variable
203 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
204 if (pid_file_handle == -1) {
210 if (lockf(pid_file_handle, F_TLOCK, 0) == -1) {
212 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {
219 ret = write(pid_file_handle, str, strlen(str));

Completed in 139 milliseconds