- proc_tools: add helper member to put values w/o length; ...

align included headers to c++

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-13 21:17:36 +01:00
committed by Thilo Graf
parent a7980757bb
commit 5a5a5e7718
2 changed files with 9 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
#ifndef __PROC_TOOLS_H__
#define __PROC_TOOLS_H__
int proc_put(const char *path, const char *value, const int len);
int proc_put(const char *path, const char *value);
int proc_put(const char *path, bool state);
int proc_get(const char *path, char *value, const int len);
unsigned int proc_get_hex(const char *path);