chiark / gitweb /
Prep v238: Uncomment now needed headers and unmask now needed functions in src/basic...
[elogind.git] / src / basic / procfs-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <inttypes.h>
5
6 #include "time-util.h"
7
8 int procfs_tasks_get_limit(uint64_t *ret);
9 #if 0 /// UNNEEDED by elogind
10 int procfs_tasks_set_limit(uint64_t limit);
11 int procfs_tasks_get_current(uint64_t *ret);
12
13 int procfs_cpu_get_usage(nsec_t *ret);
14
15 int procfs_memory_get_current(uint64_t *ret);
16 #endif // 0