Searched refs:tmp_pid_file (Results 1 – 1 of 1) sorted by relevance
5425 char tmp_pid_file[1024]; in save_pid() local5426 snprintf(tmp_pid_file, sizeof(tmp_pid_file), "%s.tmp", pid_file); in save_pid()5428 if ((fp = fopen(tmp_pid_file, "w")) == NULL) { in save_pid()5429 vperror("Could not open the pid file %s for writing", tmp_pid_file); in save_pid()5435 vperror("Could not close the pid file %s", tmp_pid_file); in save_pid()5438 if (rename(tmp_pid_file, pid_file) != 0) { in save_pid()5440 tmp_pid_file, pid_file); in save_pid()