This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[Q] mktemp
- From: Teenu <brain_damage at eth dot net>
- To: GCC HELP <gcc-help at gcc dot gnu dot org>
- Date: Thu, 27 Feb 2003 16:54:28 +0530 (IST)
- Subject: [Q] mktemp
Hello List,
I wanted to generate tmp files by mktemp() and mkstemp() in a C++
program. The use of these 2 functions result in segmentation faults.
How do i use these ?
Heres how i'm using them
______________________
mkstemp("tempXXXXXX");
______________________
GCC--> 2.96
OS--> RedHat 7.1
Kernel--> 2.5.6
TIA
Tc