I been comparing the equality of the 2 time one that is taken from loacal machine and one from server
time_t local= kernel()->time_now()
this time_now() do return time_t and uses normal way to get sys time
time_t remote =fs->ctime()
getting the creation time of a directory..then when I do local==remote
it fails since i got some minute difference between the client and server then I synced them even close to the seconds.After that it passes, yet sometime it fails, really unpredictable my question would it be OK to use ==
over time_t
or I have to use some std function I saw difftime()
will it be ok for equality check because I need bool
as a result