MCPcopy Create free account
hub / github.com/Icinga/icinga2 / wmain

Function wmain

plugins/check_uptime.cpp:202–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202int wmain(int argc, WCHAR **argv)
203{
204 po::variables_map vm;
205 printInfoStruct printInfo;
206 int ret = parseArguments(argc, argv, vm, printInfo);
207
208 if (ret != -1)
209 return ret;
210
211 getUptime(printInfo);
212
213 return printOutput(printInfo);
214}

Callers

nothing calls this directly

Calls 3

getUptimeFunction · 0.85
parseArgumentsFunction · 0.70
printOutputFunction · 0.70

Tested by

no test coverage detected