Searched refs:pid_buf (Results 1 – 2 of 2) sorted by relevance
186 char pid_buf[INT32_STRLEN]; in write_pid_file() local187 snprintf(pid_buf, sizeof(pid_buf), "%d\n", (int) getpid()); in write_pid_file()203 if (write(fd, pid_buf, strlen(pid_buf)) != (ssize_t)strlen(pid_buf)) { in write_pid_file()
104 char pid_buf[11]; in ListThreads() local106 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads()