Add helper functions to read and write (unsigned) long values directly from/to files. One of the kernel interfaces uses hex strings, so we need to allow passing a base too. Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230203003947.38033-5-bgray@linux.ibm.com |
||
---|---|---|
.. | ||
.gitignore | ||
dscr.h | ||
dscr_default_test.c | ||
dscr_explicit_test.c | ||
dscr_inherit_exec_test.c | ||
dscr_inherit_test.c | ||
dscr_sysfs_test.c | ||
dscr_sysfs_thread_test.c | ||
dscr_user_test.c | ||
Makefile | ||
settings |