Program Listing for File realpath.hpp
↰ Return to documentation for file (include/ecl/filesystem/realpath.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_FILESYSTEM_REALPATH_HPP_
#define ECL_FILESYSTEM_REALPATH_HPP_
/*****************************************************************************
** Cross Platform Configuration
*****************************************************************************/
#include <ecl/filesystem/config.hpp>
#include "macros.hpp"
#if defined(ECL_PRIVATE_HAS_POSIX_REALPATH)
/*****************************************************************************
** Includes
*****************************************************************************/
#include <string>
#include <ecl/errors/handlers.hpp>
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace ecl {
/*****************************************************************************
** Implementations
*****************************************************************************/
ecl_filesystem_PUBLIC ecl::Error realpath(const std::string& path, std::string& absolute_path);
} // namespace ecl
#endif /* ECL_PRIVATE_HAS_POSIX_REALPATH */
#endif /* ECL_FILESYSTEM_REALPATH_HPP_ */