Lines Matching refs:pid
98 static bool writeNamespacePid(const char* name, pid_t pid) { in writeNamespacePid() argument
122 static_cast<int64_t>(pid)); in writeNamespacePid()
160 pid_t pid = ::fork(); in daemonize() local
161 if (pid != 0) { in daemonize()
163 return pid; in daemonize()
170 pid = ::fork(); in daemonize()
171 if (pid != 0) { in daemonize()
174 return pid; in daemonize()
201 pid = ::getpid(); in daemonize()
202 if (::write(fd, &pid, sizeof(pid)) != sizeof(pid)) { in daemonize()
265 pid_t pid = daemonize(writePipe.get()); in main() local
266 if (pid == 0) { in main()