MCPcopy Create free account
hub / github.com/DISTRHO/DPF / fileExists

Function fileExists

examples/ExternalUI/ExternalExampleUI.cpp:49–52  ·  view source on GitHub ↗

Helper to check if a file exists

Source from the content-addressed store, hash-verified

47
48// Helper to check if a file exists
49static bool fileExists(const char* const filename)
50{
51 return access(filename, F_OK) != -1;
52}
53
54// Helper function to keep trying to write until it succeeds or really errors out
55static ssize_t

Callers 1

visibilityChangedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected