]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - include/sysfs.h
lib/sysfs: add ul_new_sysfs_path() shortcut
[thirdparty/util-linux.git] / include / sysfs.h
index c36eab0356dfce311440461b2138ddb43d150a8b..aa02674ad59150c5e2272a51d9d8e671cd2b2a9e 100644 (file)
@@ -64,6 +64,7 @@ struct sysfs_blkdev {
                        hctl_error : 1 ;
 };
 
+struct path_cxt *ul_new_sysfs_path(dev_t devno, struct path_cxt *parent, const char *prefix);
 int sysfs_blkdev_init_path(struct path_cxt *pc, dev_t devno, struct path_cxt *parent);
 int sysfs_blkdev_set_parent(struct path_cxt *pc, struct path_cxt *parent);