gccgcc attribute: format, format_arg2026-04-08The format attribute specifies that a function takes printf, scanf, strftime or strfmon style arguments which should be type-checked against a format string.attributeRead More
gccgcc attribute: nonnull2026-04-01The nonnull attribute specifies that some function parameters should be non-null pointers. This allows the compiler to check at compile-time if a null pointer is passed to these arguments.attributeRead More
gccgcc attribute: cleanup2026-03-26The cleanup attribute runs a function when a variable goes out of scope. This attribute can only be applied to auto function scope variables.attributeRead More
gccgcc attribute: constructor & destructor2026-03-09Explore the internal process and usage of gcc attributes: constructor (pre-main execution) and destructor (post-main execution).attributeRead More