FRESULT f_opendir ( DIR *dj, /* Pointer to directory object to create */ const XCHAR *path /* Pointer to the directory path */ ) { return (FRESULT)dirOpen(createFullPath(path)); }
void main() { //system("find . -name '*.c' | xargs wc -l"); //printf("Total number of lines of code: %d\n",system("( find ./ -name '*.c' -print0 | xargs -0 cat ) | wc -l"); //grep or line by line reading fro function call check (a-zA-Z0-9)* int reti; //char msgbuf[100]; FILE *f; char c; //f=fopen("test.txt","rt"); //Compile Regex // reti = regcomp(®ex, "(.*)", 0); reti = regcomp(®ex, "[a-zA-Z0-9](.*)",REG_EXTENDED); if(reti) { fprintf(stderr, "Could not compile regex\n"); //exit(1); } dirOpen(); }