Raspberry Pi 4에서 특정 디렉터리의 파일 1200개 이상을 읽으려고 for 루프 안에서 fopen을 씁니다. 루프가 어느 정도 반복되면 fopen으로 다음 파일을 읽을 수 없게 됩니다. 어떻게 해결해야 할까요?
On a Raspberry Pi 4 I use fopen inside a for loop to read files from a particular directory, over 1200 of them. Once the loop has run enough times, fopen stops being able to read another file. What should I do about this?