Generating Random Temporary File Name using tmpnam Function





This video tutorial made by the Learning Lad teaches how to create the random file names in c using the tmpnam() function.

for more information on tmpnam() function check out here
http://www.gnu.org/software/libc/manual/html_node/Temporary-Files.html

This Tutorial begins with the usage and working of tmpnam() function and then explains the syntax of tmpnam function which is
char *tmpnam*(char *name)
with its parameters and return values.
It also explains how to use the L_tmpnam defined in the stdio.h header file to declare the length of array required to store the file name .
Then you will learn how to use the tmpnam function in ur program  in detail with an example.