1 <!-- ##### SECTION Title ##### -->
2 Windows Compatibility Functions
4 <!-- ##### SECTION Short_Description ##### -->
5 Unix emulation on Windows
7 <!-- ##### SECTION Long_Description ##### -->
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### MACRO MAXPATHLEN ##### -->
19 Provided for UNIX emulation on Windows; equivalent to UNIX
20 macro %MAXPATHLEN, which is the maximum length of a filename
21 (including full path).
26 <!-- ##### TYPEDEF pid_t ##### -->
28 Provided for UNIX emulation on Windows; process ID type.
32 <!-- ##### MACRO pipe ##### -->
34 Provided for UNIX emulation on Windows; see documentation for
<function>pipe()
</function>
41 <!-- ##### MACRO ftruncate ##### -->
43 Provided for UNIX emulation on Windows; see documentation for
<function>ftruncate()
</function>
51 <!-- ##### FUNCTION g_win32_error_message ##### -->
60 <!-- ##### FUNCTION g_win32_getlocale ##### -->
68 <!-- ##### FUNCTION g_win32_get_package_installation_directory ##### -->
78 <!-- ##### FUNCTION g_win32_get_package_installation_subdirectory ##### -->
89 <!-- ##### MACRO G_WIN32_DLLMAIN_FOR_DLL_NAME ##### -->
91 On Windows, this macro defines a
<function>DllMain()
</function> function
92 that stores the actual DLL name that the code being compiled will be
96 On non-Windows platforms, expands to nothing.
99 @static: empty or
"static".
100 @dll_name: the name of the (pointer to the) char array where the DLL name
101 will be stored. If this is used, you must also include
102 <filename>windows.h
</filename>. If you need a more complex DLL entry
103 point function, you cannot use this.