mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
15 lines
257 B
C
15 lines
257 B
C
#include "processes.h"
|
|
|
|
#include <OS.h>
|
|
|
|
const char* ffDetectProcesses(uint32_t* result) {
|
|
system_info info;
|
|
if (get_system_info(&info) != B_OK) {
|
|
return "Error getting system info";
|
|
}
|
|
|
|
*result = info.used_teams;
|
|
|
|
return NULL;
|
|
}
|