Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #include |
||
3 | #include |
||
4 | #include |
||
5 | |||
6 | #include |
||
7 | #include |
||
8 | |||
9 | static char init_file_handle_modes[20] = { |
||
10 | O_TEXT, |
||
11 | O_TEXT, |
||
12 | O_TEXT, |
||
13 | O_BINARY, |
||
14 | O_BINARY |
||
15 | }; |
||
16 | |||
17 | static int dosio_bss_count = -1; |
||
18 | static size_t count=20; /* DOS default limit */ |
||
19 | |||
20 | char *__file_handle_modes = init_file_handle_modes; |
||
21 | |||
22 | void |
||
23 | __file_handle_set(int fd, int mode) |
||
24 | { |
||
25 | /* Fill in the value */ |
||
26 | __file_handle_modes[fd] = mode; |
||
27 | } |