#include #include #include #include int main(int argc, char** argv) { for (int i = 0; i < 1000000; i++) { int fd = open("/proc/meminfo", O_RDONLY); if (fd == -1) abort(); close(fd); } printf("Success\n"); return 0; }