diff options
| author | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
|---|---|---|
| committer | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
| commit | 76424950e373d3b04ac3dd13019151bfba3e8423 (patch) | |
| tree | 4c3cfdbda039e592b9186be3e28f8d7cfd439e8a /src/detection/processes/processes_haiku.c | |
Add the files
Diffstat (limited to 'src/detection/processes/processes_haiku.c')
| -rw-r--r-- | src/detection/processes/processes_haiku.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/detection/processes/processes_haiku.c b/src/detection/processes/processes_haiku.c new file mode 100644 index 0000000..c50e62d --- /dev/null +++ b/src/detection/processes/processes_haiku.c @@ -0,0 +1,14 @@ +#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; +} |