This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tmpfile returns always NULL with Windows CE



Hey,


I'm compiling programs for Windows CE using CEgcc. That toolchain uses newlib as libc.

I tried that simple program:


#include <stdio.h>


int main (int argc, char *argv[])
{
   FILE *fp;

   fp = tmpfile();
   if (!fp)
     {
	printf("tmpfile returned NULL\n");
	return -1;
     }

   return 0;
}

on my ipaq, and tmpfile returns always NULL.

Is there a known bug with tmpfile when it is used with cegcc or windows ce ?

thank you

Vincent Torri


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]