mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
9 lines
186 B
C
9 lines
186 B
C
#include "detection/loadavg/loadavg.h"
|
|
|
|
#include <sys/loadavg.h>
|
|
|
|
const char* ffDetectLoadavg(double result[3])
|
|
{
|
|
return getloadavg(result, 3) == 3 ? NULL : "getloadavg() failed";
|
|
}
|