use sys/stat.h to compare the differents of two files