Searched refs:filebuffer (Results 1 – 1 of 1) sorted by relevance
52 static char filebuffer[512]; in execpath() local57 unsigned long len = GetModuleFileNameA(0, filebuffer, sizeof(filebuffer)); in execpath()58 if(len > 0 && len < sizeof(filebuffer)) { in execpath()60 char *lastdirchar = strrchr(filebuffer, '\\'); in execpath()65 remaining = sizeof(filebuffer) - strlen(filebuffer); in execpath()69 *pathp = filebuffer; in execpath()70 f = fopen(filebuffer, FOPEN_READTEXT); in execpath()