summaryrefslogtreecommitdiff
path: root/src/misc/getrusage.c
blob: 0aaf0ac72ee9c04055afe0d3072f8b1c9736cebe (plain)
1
2
3
4
5
6
7
#include <sys/resource.h>
#include "syscall.h"

int getrusage(int who, struct rusage *ru)
{
	return syscall(SYS_getrusage, who, ru);
}