[uClibc]stdio;tmpfile() missing
Manuel Novoa III
mnovoa3 at bellsouth.net
Thu Apr 12 17:15:20 UTC 2001
On Thu, 12 Apr 2001, Glenn McGrath wrote:
> I made some changes to busybox dos2unix, to use tmpfile, but it doesnt
> compile against uClibc
>
> dos2unix.o: In function `convert':
> dos2unix.o(.text+0x48): undefined reference to `tmpfile'
> collect2: ld returned 1 exit status
>
> greping through uClibc reveals tmpfile is mentioned in the headers, but
> nowhere else.
>
> include/stdio.h:extern FILE *tmpfile __P ((void));
> include/stdio.h:extern FILE *tmpfile64 __P ((void));
>
> tmpfile looks like a usefull function to have.
Not just useful... it is ANSI/ISO standard. Erik mentioned to me the other day
that he is working on adding it while cleaning up the other temporary file
functions.
Manuel
More information about the uClibc
mailing list