Searched refs:pid_buf (Results 1 – 2 of 2) sorted by relevance
93 const std::string pid_buf(StringPrintf("%d\n", (int) getpid())); in writePidFile() local111 const auto rval = sys.write(pidFd, makeSlice(pid_buf)); in writePidFile()112 if (!isOk(rval.status()) || rval.value() != pid_buf.size()) { in writePidFile()
104 char pid_buf[11]; in ListThreads() local106 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads()