This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
tmpfile returns always NULL with Windows CE
- From: Vincent Torri <vtorri at univ-evry dot fr>
- To: newlib at sources dot redhat dot com
- Date: Tue, 10 Jun 2008 10:26:06 +0200 (CEST)
- Subject: 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