XPLMGetDirectorySeparator

XPLM_API const char * XPLMGetDirectorySeparator(void);

This routine returns a string with one char and a null terminator that is the directory separator for the current platform. This allows you to write code that concatenates directory paths without having to #ifdef for platform. The character returned will reflect the current file path mode.