Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 authored by Linus Torvalds on 22 December 2012, 01:19:00 UTC
Linux 3.8-rc1
Tip revision: a49f0d1
cgroup.h
#ifndef __CGROUP_H__
#define __CGROUP_H__

struct option;

struct cgroup_sel {
	char *name;
	int fd;
	int refcnt;
};


extern int nr_cgroups; /* number of explicit cgroups defined */
extern void close_cgroup(struct cgroup_sel *cgrp);
extern int parse_cgroups(const struct option *opt, const char *str, int unset);

#endif /* __CGROUP_H__ */
back to top