diff options
Diffstat (limited to 'include/sysfs.h')
-rw-r--r-- | include/sysfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h index bbb3816c2..ed11a5e19 100644 --- a/include/sysfs.h +++ b/include/sysfs.h @@ -39,6 +39,7 @@ extern void sysfs_deinit(struct sysfs_cxt *cxt); extern DIR *sysfs_opendir(struct sysfs_cxt *cxt, const char *attr); extern int sysfs_stat(struct sysfs_cxt *cxt, const char *attr, struct stat *st); +extern int sysfs_has_attribute(struct sysfs_cxt *cxt, const char *attr); extern int sysfs_scanf(struct sysfs_cxt *cxt, const char *attr, const char *fmt, ...) |