Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ stat
Class
stat
src/game/DirectoryNames.cpp:101–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
if (SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &idl))) {
100
if (SHGetPathFromIDList(idl, dir)) {
101
struct stat statbuf;
102
if (stat(dir, &statbuf) == 0 && (statbuf.st_mode & _S_IFDIR) != 0) {
103
name = dir;
104
}
Callers
1
getConfigDirName
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected