[PATCH 24.03 v2 1/5] arg_parser: new library for command line parsing

Stephen Hemminger stephen at networkplumber.org
Wed Nov 29 23:12:16 CET 2023


On Tue, 28 Nov 2023 14:07:41 +0000
Euan Bourke <euan.bourke at intel.com> wrote:

> +struct core_bits {
> +	uint8_t bits[(UINT16_MAX + 1)/CHAR_BIT];
> +	uint16_t max_bit_set;
> +	uint16_t min_bit_set;
> +	uint32_t total_bits_set;
> +};

Looks like a good candidate for flex array


More information about the dev mailing list