]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
abstraction: Add cgroup_strtol()
authorTom Hromatka <tom.hromatka@oracle.com>
Fri, 28 Jan 2022 17:20:38 +0000 (10:20 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 3 Feb 2022 21:41:50 +0000 (14:41 -0700)
commit588cbff370fee235b63fb81696e96af41b7c110e
tree5f84655402f33303395bc241fac5ee0fbc7f509f
parentc5632b88318cb2f3f11f2a9a31619f9119456226
abstraction: Add cgroup_strtol()

Add two new files, abstraction-common.[ch], and within them add
a function, cgroup_strtol(), that can convert a string to a long.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
src/Makefile.am
src/abstraction-common.c [new file with mode: 0644]
src/abstraction-common.h [new file with mode: 0644]