diff options
author | Mathieu Schroeter <mathieu@schroetersa.ch> | 2023-08-08 23:42:56 +0200 |
---|---|---|
committer | David Ahern <dsahern@kernel.org> | 2023-08-13 10:24:32 -0600 |
commit | db7fb3f1965751444c3b743ba0253061fd7e3b44 (patch) | |
tree | b5427cf909fe8367b01b69c040c32e521f4fbac0 /include | |
parent | 3a463c152a9a5503f9c37362b63acd6f72ecba6c (diff) | |
download | iproute2-db7fb3f1965751444c3b743ba0253061fd7e3b44.tar.gz |
Add utility to convert an unsigned int to string
Signed-off-by: Mathieu Schroeter <mathieu@schroetersa.ch>
Signed-off-by: David Ahern <dsahern@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index cf11174d9..f26ed822f 100644 --- a/include/utils.h +++ b/include/utils.h @@ -309,6 +309,7 @@ unsigned int print_name_and_link(const char *fmt, extern int cmdlineno; char *int_to_str(int val, char *buf); +char *uint_to_str(unsigned int val, char *buf); int get_guid(__u64 *guid, const char *arg); int get_real_family(int rtm_type, int rtm_family); |