FreeBSD Manual Pages
xt_file_mod_cmp(3) Library Functions Manual xt_file_mod_cmp(3) NAME xt_file_mod_cmp() - Compare time stamps on two files LIBRARY #include <xtend/file.h> -lxtend SYNOPSIS int xt_file_mod_cmp(const char *file1, const char *file2) ARGUMENTS file1, file2: Names of two filesystem objects whose time stamps are to be compared DESCRIPTION file_mod_cmp() compares the modification times of file1 and file2. It compares modification times on two files using the same rules as "make", and returns an strcmp(3) compatible status value indicating which is older. A file that doesn't exist is considered older than the big bang. RETURN VALUES A value < 0 if file1 is older or does not exist. A value > 0 if file2 is older or does not exist. 0 if the files have identical modification times, or neither exists. SEE ALSO make(1) xt_file_mod_cmp(3)
NAME | LIBRARY | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_file_mod_cmp&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>