tmpfile tmpfile -- Creates a temporary file. tmpfile creates a temporary file with a unique name under ${TMPDIR}. Usage // 1. Function form. void func::tmpfile(string* path) // 2. Command form. void sub::tmpfile() > path