aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-10-13 17:08:32 +0200
committerPatrik Nyblom <[email protected]>2010-11-29 13:59:12 +0100
commit4cf08709189ea8b7e2ae20f85c390abd04ae48ae (patch)
treeb9a1ee11e1672e03d8a80a0b8829bdaab75f66bf /erts/emulator/beam/sys.h
parent25e22145d129a80dcfc02c64dfe0b0d890a5e26d (diff)
downloadotp-4cf08709189ea8b7e2ae20f85c390abd04ae48ae.tar.gz
otp-4cf08709189ea8b7e2ae20f85c390abd04ae48ae.tar.bz2
otp-4cf08709189ea8b7e2ae20f85c390abd04ae48ae.zip
Teach filename to accept raw data and add filename enc option to emu
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index d14e0ac105..57f2b2f16c 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -1263,6 +1263,9 @@ char* win32_errorstr(int);
#define ERL_FILENAME_WIN_WCHAR 3
int erts_get_native_filename_encoding(void);
+/* The set function is only to be used by erl_init! */
+void erts_set_user_requested_filename_encoding(int encoding);
+int erts_get_user_requested_filename_encoding(void);
void erts_init_sys_common_misc(void);