MCPcopy Create free account
hub / github.com/boostorg/filesystem / getcwd_error

Method getcwd_error

src/operations.cpp:3610–3620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3608 struct local
3609 {
3610 static bool getcwd_error(error_code* ec)
3611 {
3612 const int err = errno;
3613 return error((err != ERANGE
3614#if defined(__MSL__) && (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
3615 // bug in some versions of the Metrowerks C lib on the Mac: wrong errno set
3616 && err != 0
3617#endif
3618 ) ? err : 0,
3619 ec, "boost::filesystem::current_path");
3620 }
3621 };
3622
3623 path cur;

Callers

nothing calls this directly

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected