fastfetch-sys 2.43.0

A neofetch like system information tool
Documentation
1
2
3
4
5
6
7
8
#include "detection/loadavg/loadavg.h"

#include <sys/loadavg.h>

const char* ffDetectLoadavg(double result[3])
{
    return getloadavg(result, 3) == 3 ? NULL : "getloadavg() failed";
}