|
|
1.1 ! root 1: ! 2: ! 3: mktemp() General Function mktemp() ! 4: ! 5: ! 6: ! 7: ! 8: Generate a temporary file name ! 9: ! 10: cchhaarr *mmkktteemmpp(_p_a_t_t_e_r_n) cchhaarr *_p_a_t_t_e_r_n; ! 11: ! 12: mktemp generates a unique file name. It can be used, for ex- ! 13: ample, to name intermediate data files. pattern must consist of ! 14: a string with six X's at the end. mktemp replaces these X's with ! 15: the five-digit process id of the requesting process and a letter ! 16: that is changed for each subsequent call. mktemp returns pat- ! 17: tern. For example, the call mmkktteemmpp("/ttmmpp/ssoorrttXXXXXXXXXXXX"); might ! 18: return the name /ttmmpp/ssoorrtt0011223344aa. It is normal practice to place ! 19: temporary files in the directory /tmp. The start of the file ! 20: name identifies the originator of the file. ! 21: ! 22: ***** See Also ***** ! 23: ! 24: general functions, getpid(), tempnam(), tmpnam() ! 25: ! 26: ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.