Online HelpPC 2.10      Quick Reference Utility     Copyright 1991 David Jurgens
 
                MSC: char *tempnam( char *dir, char *prefix )                   
                MSC: char *tmpnam( char *string )                               
                                                                                                                                                                          - prototype in stdio.h                                                                                                                                            - string = buffer to receive temporary filename                                  - tempnam() creates a temporary file in the specified directory                    "dir" using the "prefix" as the beginning of the filename;                       memory for the resulting filename is allocate via malloc() and                   must be freed with free()                                                      - tmpnam() creates the temporary file in the current directory                   - return a pointer to the new name or NULL on error                                                                                                                                                                                         
[helppc.bosbyte.nl]                 tmpnam                    Home  Back  Topics