P99

◆ P99_JOIN

#define P99_JOIN (   ...)    P99_STRCATS((char[P99_SIZEOFS(__VA_ARGS__) + 1]){ 0 }, __VA_ARGS__)

Concatenate all arguments.

All arguments must be strings for which the length can be computed at compile time.

Returns
a temporary string that is valid in the containing block of the expression holding the call to this macro.
See also
P99_STRDUP for a variant that returns a malloc'ed string and thus can be called with any type of char* arguments.
Remarks
argument 0 maybe evaluated several times for its type but only once for its value
argument 1 maybe evaluated several times for its type but only once for its value
argument 2 maybe evaluated several times for its type but only once for its value

Definition at line 166 of file p99_map.h.