On 06/07/22 9:05 pm, Stephen Hemminger wrote:
On Wed, 6 Jul 2022 13:21:55 +0530
Aman Kumar wrote:
+/* parse a sysfs file containing one integer value */
+static int parse_sysfs_value(const char *filename, uint32_t *val)
+{
+ FILE *f;
+ char buf[BUFSIZ];
+ char *end = NULL;
+
On Wed, 6 Jul 2022 13:21:55 +0530
Aman Kumar wrote:
> +/* parse a sysfs file containing one integer value */
> +static int parse_sysfs_value(const char *filename, uint32_t *val)
> +{
> + FILE *f;
> + char buf[BUFSIZ];
> + char *end = NULL;
> +
> + f = fopen(filename, "r");
> +
2 matches
Mail list logo