RocketLogger  2.0.0
sysfs.h
Go to the documentation of this file.
1 
32 #ifndef SYSFS_H_
33 #define SYSFS_H_
34 
45 int sysfs_export(char const *const sysfs_file, int value);
46 
54 int sysfs_unexport(char const *const sysfs_file, int value);
55 
62 int sysfs_is_exported(char const *const sysfs_path);
63 
76 int sysfs_export_unexported(char const *const sysfs_path,
77  char const *const sysfs_export_file, int value);
78 
91 int sysfs_unexport_exported(char const *const sysfs_path,
92  char const *const sysfs_unexport_file, int value);
93 
101 int sysfs_write_string(char const *const sysfs_file, char const *const value);
102 
111 int sysfs_read_string(char const *const sysfs_file, char *const value,
112  int length);
113 
121 int sysfs_write_int(char const *const sysfs_file, int value);
122 
130 int sysfs_read_int(char const *const sysfs_file, int *const value);
131 
132 #endif /* SYSFS_H_ */
int sysfs_write_string(char const *const sysfs_file, char const *const value)
Definition: sysfs.c:106
int sysfs_read_int(char const *const sysfs_file, int *const value)
Definition: sysfs.c:145
int sysfs_read_string(char const *const sysfs_file, char *const value, int length)
Definition: sysfs.c:121
int sysfs_unexport(char const *const sysfs_file, int value)
Definition: sysfs.c:54
int sysfs_write_int(char const *const sysfs_file, int value)
Definition: sysfs.c:136
int sysfs_unexport_exported(char const *const sysfs_path, char const *const sysfs_unexport_file, int value)
Definition: sysfs.c:91
int sysfs_export_unexported(char const *const sysfs_path, char const *const sysfs_export_file, int value)
Definition: sysfs.c:76
int sysfs_export(char const *const sysfs_file, int value)
Definition: sysfs.c:50
int sysfs_is_exported(char const *const sysfs_path)
Definition: sysfs.c:58