MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / open

Function open

3rd/asio-1.24.0/include/asio/basic_file.hpp:368–373  ·  view source on GitHub ↗

Open the file using the specified path. * This function opens the file so that it will use the specified path. * * @param path The path name identifying the file to be opened. * * @param open_flags A set of flags that determine how the file should be * opened. * * @throws asio::system_error Thrown on failure. * * @par Example * @code * asio::stream_file file(my_con

Source from the content-addressed store, hash-verified

366 * @endcode
367 */
368 void open(const char* path, file_base::flags open_flags)
369 {
370 asio::error_code ec;
371 impl_.get_service().open(impl_.get_implementation(), path, open_flags, ec);
372 asio::detail::throw_error(ec, "open");
373 }
374
375 /// Open the file using the specified path.
376 /**

Callers 15

testOutputMethod · 0.90
testOutputMethod · 0.50
RunAndReturnOutputFunction · 0.50
_GetJsonOutputMethod · 0.50
_TestOutFileMethod · 0.50
_GetOutputMethod · 0.50
GetThreadCountFunction · 0.50
ExecDeathTestSpawnChildFunction · 0.50
os_detect_overcommitFunction · 0.50
os_random_bufFunction · 0.50

Calls 2

throw_errorFunction · 0.85
openMethod · 0.45

Tested by 8

testOutputMethod · 0.72
testOutputMethod · 0.40
RunAndReturnOutputFunction · 0.40
_GetJsonOutputMethod · 0.40
_TestOutFileMethod · 0.40
_GetOutputMethod · 0.40
GetThreadCountFunction · 0.40
ExecDeathTestSpawnChildFunction · 0.40