Searched refs:filebuffer (Results 1 – 1 of 1) sorted by relevance
47 char filebuffer[512]; in execpath() local52 unsigned long len = GetModuleFileNameA(0, filebuffer, sizeof(filebuffer)); in execpath()53 if(len > 0 && len < sizeof(filebuffer)) { in execpath()55 char *lastdirchar = strrchr(filebuffer, '\\'); in execpath()60 remaining = sizeof(filebuffer) - strlen(filebuffer); in execpath()63 return fopen(filebuffer, FOPEN_READTEXT); in execpath()