MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / Open

Function Open

08.29-structuredBindingsPOSIXError3/main.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26};
27
28auto Open(std::string_view fileName)
29{
30 // #B Works without specifying a type
31 return ReturnCode{open(fileName.data()), errno};
32}
33
34int main()
35{

Callers 1

mainFunction · 0.70

Calls 2

dataMethod · 0.80
openFunction · 0.70

Tested by

no test coverage detected