1 diff -u -r ../iperf-3.2/src/iperf_api.c ./src/iperf_api.c
2 --- ../iperf-3.2/src/iperf_api.c 2017-06-26 19:42:56.000000000 +0200
3 +++ ./src/iperf_api.c 2017-07-26 14:00:54.136126122 +0200
5 tempdir = getenv("TMP");
9 + tempdir = "@TERMUX_PREFIX@/tmp";
11 snprintf(template, sizeof(template) / sizeof(char), "%s/iperf3.XXXXXX", tempdir);