[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. :)
- Re: fileno(tmpfile()) returns EBADF, (continued)
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/16
- Re: fileno(tmpfile()) returns EBADF, Roland McGrath, 2002/04/17
- Re: fileno(tmpfile()) returns EBADF, Thomas Bushnell, BSG, 2002/04/17
- Re: fileno(tmpfile()) returns EBADF, Roland McGrath, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Thomas Bushnell, BSG, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Roland McGrath, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Thomas Bushnell, BSG, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Thomas Bushnell, BSG, 2002/04/19
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/20
- Re: fileno(tmpfile()) returns EBADF,
Thomas Bushnell, BSG <=
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/20