note description: "The objects available from the operating system" library: "Free implementation of ELKS library" copyright: "Copyright (c) 2005, Eiffel Software and others" license: "Eiffel Forum License v2 (see forum.txt)" date: "$Date$" revision: "$Revision$" class OPERATING_ENVIRONMENT feature Directory_separator: CHARACTER -- Character used to separate subdirectories in a path name on this platform. --| To build portable path names, use PATH_NAME and its descendants. once Result := c_dir_separator end Current_directory_name_representation: STRING -- Representation of the current directory once Result := eif_current_dir_representation end home_directory_supported: BOOLEAN -- Is the notion of home directory supported on this platform? external "C use %"eif_path_name.h%"" alias "eif_home_dir_supported" end root_directory_supported: BOOLEAN -- Is the notion of root directory supported on this platform? external "C use %"eif_path_name.h%"" alias "eif_root_dir_supported" end case_sensitive_path_names: BOOLEAN -- Are path names case sensitive? external "C use %"eif_path_name.h%"" alias "eif_case_sensitive_path_names" end feature {NONE} -- Implementation c_dir_separator: CHARACTER external "C use %"eif_dir.h%"" alias "eif_dir_separator" end eif_current_dir_representation: STRING external "C use %"eif_path_name.h%"" end end