diff options
author | Franck Bui <fbui@suse.com> | 2017-04-26 18:18:03 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2017-06-06 22:42:35 +0200 |
commit | fbcc7f4168827bf7c956bd83eaa42e1f449e95bd (patch) | |
tree | e4e043525c25385355505a913f390b148c4ca78e /src/basic/parse-util.h | |
parent | 50-udev-default.rules.in: set correct group for mediaX/cecX (#5921) (diff) | |
download | systemd-fbcc7f4168827bf7c956bd83eaa42e1f449e95bd.tar.xz systemd-fbcc7f4168827bf7c956bd83eaa42e1f449e95bd.zip |
parse-util: introduce parse_dev() helper
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r-- | src/basic/parse-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h index 4d132f0de5..dc09782ca8 100644 --- a/src/basic/parse-util.h +++ b/src/basic/parse-util.h @@ -30,6 +30,7 @@ #define MODE_INVALID ((mode_t) -1) int parse_boolean(const char *v) _pure_; +int parse_dev(const char *s, dev_t *ret); int parse_pid(const char *s, pid_t* ret_pid); int parse_mode(const char *s, mode_t *ret); int parse_ifindex(const char *s, int *ret); |