diff options
author | Egor Duda <deo@logos-m.ru> | 2001-06-12 15:31:05 +0400 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-06-12 15:31:05 +0400 |
commit | 4c15b7aba0e430aaa8e573a4b68568177787f5d2 (patch) | |
tree | 1b130c7c1aa1160edbe7bfd3a5720f7f76cac039 /winsup/cygwin/winsup.h | |
parent | 25842b68c79e1ab640b133db6520a8c0a2a458e8 (diff) |
* environ.cc (set_file_api_mode): New function. Move setting
of file APIs mode (OEM/ANSI) here.
(codepage_init): From here.
* winsup.h (set_file_api_mode): Declare it.
* fork.cc (fork_child): Set file APIs mode in forkee.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 8eb8519f8..b725f8243 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -162,6 +162,8 @@ extern HANDLE netapi32_handle; extern "C" void error_start_init (const char*); extern "C" int try_to_debug (bool waitloop = 1); +void set_file_api_mode (codepage_type); + extern int cygwin_finished_initializing; /**************************** Miscellaneous ******************************/ |