Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b authored by Linus Torvalds on 21 July 2013, 19:05:29 UTC
Linux 3.11-rc2
Tip revision: 3b2f64d
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