public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* [Q] mktemp
@ 2003-02-27 12:33 Teenu
  2003-02-27 12:43 ` Mihnea Balta
  0 siblings, 1 reply; 3+ messages in thread
From: Teenu @ 2003-02-27 12:33 UTC (permalink / raw)
  To: GCC HELP

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-27 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-27 12:33 [Q] mktemp Teenu
2003-02-27 12:43 ` Mihnea Balta
2003-02-27 13:51   ` Teenu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).