Exemple #1
0
FRESULT f_opendir (
   DIR *dj,       /* Pointer to directory object to create */
   const XCHAR *path /* Pointer to the directory path */
)
{
   return (FRESULT)dirOpen(createFullPath(path));
}
Exemple #2
0
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(&regex, "(.*)", 0);
	reti = regcomp(&regex, "[a-zA-Z0-9](.*)",REG_EXTENDED);
	if(reti)
	{
		fprintf(stderr, "Could not compile regex\n");
		//exit(1);
	}

    dirOpen();
}