Searched refs:tempfn (Results 1 – 2 of 2) sorted by relevance
1177 char tempfn[] = "/tmp/nghttpd.temp.XXXXXX"; in prepare_upload_temp_store() local1178 auto fd = mkstemp(tempfn); in prepare_upload_temp_store()1182 unlink(tempfn); in prepare_upload_temp_store()1185 auto path = std::string("echo:") + tempfn; in prepare_upload_temp_store()1940 char tempfn[] = "/tmp/nghttpd.temp.XXXXXX"; in make_status_body() local1941 int fd = mkstemp(tempfn); in make_status_body()1947 unlink(tempfn); in make_status_body()
2522 char tempfn[] = "/tmp/nghttp.temp.XXXXXX"; in run() local2523 data_fd = mkstemp(tempfn); in run()2529 if (unlink(tempfn) != 0) { in run()2530 std::cerr << "[WARNING] failed to unlink temporary file:" << tempfn in run()