MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / stat

Class stat

JoyShockMapper/src/linux/Init.cpp:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 auto dest = ::open((configDirectory + gFile).c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644);
78
79 struct stat stat_source;
80 ::fstat(source, &stat_source);
81 ::sendfile(dest, source, 0, stat_source.st_size);
82

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected