MCPcopy Create free account
hub / github.com/chenshuo/muduo / pidString

Method pidString

muduo/base/ProcessInfo.cc:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68string ProcessInfo::pidString()
69{
70 char buf[32];
71 snprintf(buf, sizeof buf, "%d", pid());
72 return buf;
73}
74
75uid_t ProcessInfo::uid()
76{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected