[PATCH v4] ungetc: Guarantee single char pushback

Richard Henderson richard.henderson@linaro.org
Tue Dec 10 14:03:33 GMT 2024


On 12/10/24 06:30, Siddhesh Poyarekar wrote:
> -  int _flags2;
> +  int _flags2:24;
> +  char _short_backupbuf[1];

This doesn't create a 3-byte flags2, if that's what you're trying.
The underlying storage will still be int-sized, now with 8 unallocated bits.


r~


More information about the Libc-alpha mailing list