- prototype in stdio.h - creates and opens a temporary stream file - returns stream pointer or NULL on error - file is automatically deleted when closed or rmtmp() is called - rmtmp() works only if in original directory - file is opened in binary write mode; except MS C version 4.0 opened file in write translate mode