Packages

`forkpty(3)` bindings for elixir

Current section

Files

Jump to
expty c_src win path_util.h
Raw

c_src/win/path_util.h

/**
* Copyright (c) 2013-2015, Christopher Jeffrey, Peter Sunde (MIT License)
* Copyright (c) 2016, Daniel Imms (MIT License).
* Copyright (c) 2018, Microsoft Corporation (MIT License).
* Copyright (c) 2023, Cocoa Xu (Apache 2.0 License).
*/
#ifndef EXPTY_PTY_PATH_UTIL_H_
#define EXPTY_PTY_PATH_UTIL_H_
#define MAX_ENV 65536
namespace path_util {
std::wstring to_wstring(const std::string& str);
bool file_exists(std::wstring filename);
std::wstring get_shell_path(std::wstring filename);
} // namespace path_util
#endif // NODE_PTY_PATH_UTIL_H_