5noneNulgrind, the minimal Valgrind toolCopyright...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...........FdBadClose3......0x...........closefile...file_dclose.c17Previously closed0x...........main...file_dclose.c31Originally opened0x...........openfile...file_dclose.c11FINISHED10x........