Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dmemcached.c4245 char tmp_pid_file[1024]; local
4246 snprintf(tmp_pid_file, sizeof(tmp_pid_file), "%s.tmp", pid_file);
4248 if ((fp = fopen(tmp_pid_file, "w")) == NULL) {
4249 vperror("Could not open the pid file %s for writing", tmp_pid_file);
4255 vperror("Could not close the pid file %s", tmp_pid_file);
4258 if (rename(tmp_pid_file, pid_file) != 0) {
4260 tmp_pid_file, pid_file);