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

Function main

08.27-structuredBindingsPOSIXError1/main.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25int main()
26{
27 auto [code, err] = Open("myfile.txt");
28
29 printf("errno: %d, value: %d\n", err, code);
30}

Callers

nothing calls this directly

Calls 1

OpenFunction · 0.70

Tested by

no test coverage detected