On 30.01.2017 16:13, Cyril Hrubis wrote: > Are you sure? SAFE_CLOSE() is a macro which expands to: > do { > safe_close("foo", 42, NULL, (*fd)); > (*fd) = -1; > } while (0) Good! I thought it expands to safe_close() only.... Thanks, Alexey