P99

◆ P99_FHEAD

#define P99_FHEAD (   T,
  F,
 
)    ((T*)(((char*)P) - offsetof(T, F)))

For a pointer P to a flexible struct member F in struct T find the start address of the container.

Remarks
argument 0 should correspond to a type that is not a VLA.

Definition at line 446 of file p99_new.h.