summaryrefslogtreecommitdiffstats
path: root/src/detection/processes/processes_haiku.c
blob: c50e62d5319cb0eab4cbf229a0d95ff15fa7ea2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}