/disk1/p.uno. git-svn-id: svn://10.65.10.50/trunk@1811 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			21 lines
		
	
	
		
			320 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			320 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #include <malloc.h>
 | |
| #include <stdio.h>
 | |
| #include <string.h>
 | |
| /*
 | |
|    @(H) 2.3.01.316 14/3/95 Vignali Gestione nomi temporanei intelligente
 | |
|    */
 | |
| 
 | |
| /* @(!) 2.3.01.316 */
 | |
| 
 | |
| void tmpfname(p,n)
 | |
|   char  *p;
 | |
|   char  *n;
 | |
| {
 | |
|   char *pp;
 | |
|   pp = (char *) tempnam("/tmp/",n);
 | |
|   strcpy(p,pp);
 | |
|   free((void *) pp);
 | |
| }
 | |
| 
 | |
| /* @(:) 2.3.01.316 */
 |