__attribute__ in GNU C

sud03r picture sud03r · Sep 22, 2009 · Viewed 48.9k times · Source

Why and how is __attribute__ used in GNU C programs?

Answer

qrdl picture qrdl · Sep 22, 2009

GCC attributes:

  • Function attributes described here
  • Variable attributes described here
  • Type attributes described here