mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
14 lines
387 B
C
14 lines
387 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifndef FF_INCLUDED_common_sysctl
|
||
|
|
#define FF_INCLUDED_common_sysctl
|
||
|
|
|
||
|
|
#include "fastfetch.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, int requestLength, size_t* resultLength);
|
||
|
|
|
||
|
|
#endif
|