[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fileno(tmpfile()) returns EBADF

From: Thomas Bushnell, BSG
Subject: Re: fileno(tmpfile()) returns EBADF
Date: 17 Apr 2002 14:46:53 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Roland McGrath <roland@frob.com> writes:

> I think the Hurd libc implementation of tmpfile is at fault.
> POSIX.1 says there must be a file descriptor.  Try this libc patch.

Why do it this way?  I would prefer having fileno generate the file
descriptor, since most uses of tmpfile will probably not need one.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]