На Raspberry Pi 4 я вызываю fopen в цикле for, чтобы читать файлы из определённого каталога, всего их больше 1200. После некоторого количества итераций 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?