[feature] added the functions of the rest of the features that are yet to be implemented on the linux version
This commit is contained in:
parent
fcf5680e72
commit
0d43215f72
30
source/lib.c
30
source/lib.c
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Author: nasr
|
* Author: nasr
|
||||||
@ -116,7 +115,7 @@ void mem_size() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void av_mem_size() {
|
void mem_av_size() {
|
||||||
struct sysinfo info;
|
struct sysinfo info;
|
||||||
|
|
||||||
if (sysinfo(&info) != 0) {
|
if (sysinfo(&info) != 0) {
|
||||||
@ -162,11 +161,36 @@ void device_up_time() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void device_mdoel() {
|
void device_model() {
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void cpu_threads() {
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void get_total() {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void get_usage() {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void device_os_version() {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void device_model() {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user