Searched refs:pathbuf (Results 1 – 1 of 1) sorted by relevance
1119 char pathbuf[PATH_MAX]; in deleteRecursive() local1121 if (pathLength >= sizeof(pathbuf) - 1) { in deleteRecursive()1124 strcpy(pathbuf, path); in deleteRecursive()1125 if (pathbuf[pathLength - 1] != '/') { in deleteRecursive()1126 pathbuf[pathLength++] = '/'; in deleteRecursive()1128 char* fileSpot = pathbuf + pathLength; in deleteRecursive()1129 int pathRemaining = sizeof(pathbuf) - pathLength - 1; in deleteRecursive()1154 deleteRecursive(pathbuf); in deleteRecursive()1155 rmdir(pathbuf); in deleteRecursive()1157 unlink(pathbuf); in deleteRecursive()