On Jul 13 2022, Szabolcs Nagy via Libc-alpha wrote: > note that glibc headers have to be namespace clean so it > would be more like > > __attribute__((__fd_argument (__access, 1))) > __attribute__((__fd_argument (__read, 1))) > __attribute__((__fd_argument (__write, 1))) > > so it would be even shorter to write > > __attribute__((__fd_argument_access (1))) > __attribute__((__fd_argument_read (1))) > __attribute__((__fd_argument_write (1)))
The attribute will need to be hidden behind a macro anyway, like it is done with most other attributes now. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."