MCPcopy Create free account
hub / github.com/MultiMC/Launcher / runSysctlHwModel

Function runSysctlHwModel

launcher/minecraft/launch/PrintInstanceInfo.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70#elif defined(Q_OS_FREEBSD)
71void runSysctlHwModel(QStringList &log)
72{
73 char buff[512];
74 FILE *hwmodel = popen("sysctl hw.model", "r");
75 while (fgets(buff, 512, hwmodel) != NULL)
76 {
77 log << QString::fromUtf8(buff);
78 break;
79 }
80 pclose(hwmodel);
81}
82
83void runPciconf(QStringList &log)
84{

Callers 1

executeTaskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected