MCPcopy Create free account
hub / github.com/ddnet/ddnet / io_current_exe

Function io_current_exe

src/base/io.cpp:269–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269IOHANDLE io_current_exe()
270{
271 char path[IO_MAX_PATH_LENGTH];
272 if(fs_executable_path(path, sizeof(path)) != 0)
273 {
274 return nullptr;
275 }
276 return io_open(path, IOFLAG_READ);
277}

Callers 2

HandleChecksumMethod · 0.85
TESTFunction · 0.85

Calls 2

fs_executable_pathFunction · 0.85
io_openFunction · 0.85

Tested by 1

TESTFunction · 0.68