Home
last modified time | relevance | path

Searched refs:pid_file_handle (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-daemon.c130 static int pid_file_handle; variable
202 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));