mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
16 lines
436 B
C
16 lines
436 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_common_sysctl
|
|
#define FF_INCLUDED_common_sysctl
|
|
|
|
#include "fastfetch.h"
|
|
#include <sys/types.h>
|
|
#include <sys/sysctl.h>
|
|
|
|
void ffSysctlGetString(const char* propName, FFstrbuf* result);
|
|
int ffSysctlGetInt(const char* propName, int defaultValue);
|
|
int64_t ffSysctlGetInt64(const char* propName, int64_t defaultValue);
|
|
void* ffSysctlGetData(int* request, u_int requestLength, size_t* resultLength);
|
|
|
|
#endif
|