[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 16:51:35 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Marcus Brinkmann <marcus@gnu.org> writes:
> I don't have my copy of POSIX around, but I also remember a vague
> requirement (or expectation) that the file descriptor allocated
> is always the smallest file descriptor available.
No, that's no requirement. It's the way Unix historically worked, but
Posix has no such requirement at all.
- fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/16
- 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 <=
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/20
- Re: fileno(tmpfile()) returns EBADF, Thomas Bushnell, BSG, 2002/04/20
- Re: fileno(tmpfile()) returns EBADF, Marcus Brinkmann, 2002/04/20