P99

◆ P99_FCALLOC

#define P99_FCALLOC (   T,
  F,
 
)    calloc(P99_FSIZEOF(T, F, N),1)

Allocate an instance of struct T that is able to hold N items in flexible struct member F.

Initialization of the instance is performed as for calloc.

Warning
argument 2 may be evaluated multiple times
Remarks
argument 0 should correspond to a type that is not a VLA.
argument 1 maybe evaluated several times for its type but only once for its value

Definition at line 498 of file p99_new.h.