christos 749de7f2a4 Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.
2008-03-13 15:40:00 +00:00
..
2008-01-09 11:25:58 +00:00
2008-03-10 01:18:44 +00:00
2008-02-04 23:08:01 +00:00
2008-01-20 04:56:08 +00:00
2008-02-23 15:53:22 +00:00