5 none Nulgrind, the minimal Valgrind tool Copyright... Using Valgrind... Command: ./file_dclose ... ... none ... --command-line-only=yes --memcheck:leak-check=no --tool=none -q --track-fds=yes --xml=yes --xml-fd=2 ... RUNNING close 3 time passes and we close 3 again 0x........ ... FdBadClose 3 ... ... 0x........ ... closefile ... file_dclose.c 17 Previously closed 0x........ ... main ... file_dclose.c 31 Originally opened 0x........ ... openfile ... file_dclose.c 11 FINISHED 1 0x........