weird c vararg function pointer trick