3c5a9b58e0
* it's not any less broken than the previous version, but at least it gives us a recent base to hack on. aja@ agrees
28 lines
498 B
C
28 lines
498 B
C
/*
|
|
* $OpenBSD: procaffinity.c,v 1.1 2009/10/16 10:56:04 jasper Exp $
|
|
* procaffinity stub.
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include <glibtop/procaffinity.h>
|
|
#include <glibtop/error.h>
|
|
|
|
|
|
void
|
|
_glibtop_init_proc_affinity_s(glibtop *server)
|
|
{
|
|
server->sysdeps.proc_affinity =
|
|
(1 << GLIBTOP_PROC_AFFINITY_NUMBER) |
|
|
(1 << GLIBTOP_PROC_AFFINITY_ALL);
|
|
|
|
}
|
|
|
|
|
|
guint16 *
|
|
glibtop_get_proc_affinity_s(glibtop *server, glibtop_proc_affinity *buf, pid_t pid)
|
|
{
|
|
memset(buf, 0, sizeof *buf);
|
|
|
|
return NULL;
|
|
}
|