]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/c: add cmp_timespec() and cmp_stat_mtime()
authorKarel Zak <kzak@redhat.com>
Mon, 13 Dec 2021 12:19:18 +0000 (13:19 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Dec 2021 12:19:18 +0000 (13:19 +0100)
commit0cfb8c5c3205a92ae81def278cdded63ea47094f
tree71995bb97d44b43ccbc9aeff196dd93a6e165db1
parentb66b5b970e34fcf114d78d65b8be504f91b04065
include/c: add cmp_timespec() and cmp_stat_mtime()

It's like timercmp() in libc, but for timespec and for stat.st_mtim
(or stat.st_mtime for old struct stat versions).

Signed-off-by: Karel Zak <kzak@redhat.com>
include/c.h