c: iterate an array of structs
i have a pointer to an array of (dirent) structs -struct dirent ***namelist. I want to read each struct after another. Can i do "*namelist[i]" for i=1,2,...? Or do i have to something like
"(**namelist)+sizeof(dirent)" to read the next entry of the array? Please explain and clear out what i have written, because there is a confusion in my head...