summaryrefslogtreecommitdiffstats
path: root/src/libcgroup-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcgroup-internal.h')
-rw-r--r--src/libcgroup-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcgroup-internal.h b/src/libcgroup-internal.h
index b9ef442..8c5cc2f 100644
--- a/src/libcgroup-internal.h
+++ b/src/libcgroup-internal.h
@@ -108,6 +108,10 @@ struct cgroup_tree_handle {
int flags;
};
+/**
+ * per thread errno variable, to be used when return code is ECGOTHER
+ */
+extern __thread int last_errno;
/* Internal API */
char *cg_build_path(char *name, char *path, char *type);