Please follow Corion's advice and also, please put <code> ..</code> tags around your snippet.
You can also be interested into sysopen function in junction with O_CREAT flag: you can cycle various file names until it returns not an error.
L*
In reply to Re: Alternate command for tmpnam
by Discipulus
in thread Alternate command for tmpnam
by kishore05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |