Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | #include |
2 | #include |
||
3 | #include |
||
4 | #include |
||
5 | #include |
||
6 | #include |
||
7 | #include |
||
8 | #include |
||
9 | #include |
||
10 | #include |
||
11 | #include |
||
12 | #include |
||
13 | |||
14 | #include "../../../dos/dos_emu/dosemuin.h" |
||
15 | |||
16 | #include "xstat.h" |
||
17 | |||
18 | int fstat(int handle, struct stat *statbuf) |
||
19 | { |
||
20 | if (handle < 0 || handle >= _MAX_HANDLES) |
||
21 | { |
||
22 | errno = EBADF; |
||
23 | return -1; |
||
24 | } |
||
25 | return stat(_io_handles[handle].filename, statbuf); |
||
26 | }> |