From: Greg C. <chi...@mi...> - 2004-02-11 17:35:15
|
Andreas Schaefer wrote: > > I want to use the function tmpfile() of stdio.h in a C program. > The problem is that - as noted in stdio.h - this routine tries > to write the temporary file in the root directory - here c:\. > For this you need admin rights to do it. I don't want to work > always with admin rights. > > So how can I change the behaviour so that the current directory will be > used for creating the temporary file ...? My current machine is Win XP Pro > with actual (current) mingw/msys distribution. This was discussed here in some detail a few months ago. Try searching the archives. The facility at gmane.org often works better than what sourceforge provides. |