]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgroup: Change how cgroup_get_cgroup works
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Mon, 29 Sep 2008 14:14:51 +0000 (14:14 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Mon, 29 Sep 2008 14:14:51 +0000 (14:14 +0000)
commit3a581d5f2dfe420c30dfd12c3be80628d7c953bf
tree731f5eb562c8482799ce3f7617903bf6d3ee591c
parentd1ab753ba5d0d641b52cb90e00ce2eabfae476f4
libcgroup: Change how cgroup_get_cgroup works

Since we will not deprecate API now, and will do so with the
next release, let's include this one in and get the API right.

With this pathc, we now return int type, and the pointer passed
as the argument redirects to the cgroup we are reading.

Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@202 4f4bb910-9a46-0410-90c8-c897d4f1cd53
api.c
libcgroup.h