stat-util: add simpler helper for checking if /proc/ is mounted
This commit is contained in:
@@ -87,3 +87,5 @@ int fd_verify_directory(int fd);
|
||||
int device_path_make_major_minor(mode_t mode, dev_t devno, char **ret);
|
||||
int device_path_make_canonical(mode_t mode, dev_t devno, char **ret);
|
||||
int device_path_parse_major_minor(const char *path, mode_t *ret_mode, dev_t *ret_devno);
|
||||
|
||||
int proc_mounted(void);
|
||||
|
||||
Reference in New Issue
Block a user