Searched refs:pidstr (Results 1 – 2 of 2) sorted by relevance
206 char *pidstr = strstr(filename, "%"); in valid_filename_template() local208 if (pidstr) { in valid_filename_template()210 if (pidstr[1] != 'd' || strchr(pidstr + 2, '%')) { in valid_filename_template()
138 char pidstr[32]; in qemu_write_pidfile() local192 snprintf(pidstr, sizeof(pidstr), FMT_pid "\n", getpid()); in qemu_write_pidfile()193 if (qemu_write_full(fd, pidstr, strlen(pidstr)) != strlen(pidstr)) { in qemu_write_pidfile()