I\'ve being using this code a while now, and it works fine, but it gave me some headache to implement it. It uses Flexible Array Member (FAM) aka Struct Hack. Now that C99 has t
The C name for that construction is "flexible array member" (it might help your searches), or "struct hack" before C99.
C
Look at 6.7.2.1 in the Standard; there is example usage in the text.
You may also be interested in "Variable Length Arrays". See 6.7.5.2 in The Standard.