bug-hurd
[Top][All Lists]
Advanced

[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: 19 Apr 2002 21:05:36 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

> Uh, I have now rebooted and the standard (the draft7 from the Austin
> group) in front of me.  Let's look at the details:
>
> About open():
> "The open( ) function shall return a file descriptor for the named file that
> is the lowest file descriptor not currently open for that process."
> 
> About fopen():
> "The fopen( ) function shall allocate a file descriptor as open( ) does."

Eek!  You're sure that's Posix and not XOPEN or some other thing? 

Regardless, blech.  Oh well.  Computers suck. :)



reply via email to

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