From 535808c4d93e4637577aa17bf8413a41920dd2d8 Mon Sep 17 00:00:00 2001 From: Joanne Koong Date: Mon, 7 Oct 2024 13:37:20 -0700 Subject: Add libfuse util strtol wrapper Add a wrapper around strtol for more rigorous error checking and convert uses of atoi and strtol to use this instead. --- lib/util.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/util.h (limited to 'lib/util.h') diff --git a/lib/util.h b/lib/util.h new file mode 100644 index 0000000..0a01711 --- /dev/null +++ b/lib/util.h @@ -0,0 +1 @@ +int libfuse_strtol(const char *str, long *res); -- cgit v1.2.3