1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue in time() function on 64bit machines.

Discussion in 'C' started by Alex, Apr 12, 2009.

  1. Alex

    Alex New Member

    Joined:
    Oct 1, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I am having issues with time_t time (time_t *result) function
    returning one second less than the actual system time. Oddly enough
    this only happens on 64bit systems.
    The machine specs. are, Target: x86_64-
    suse-linux, host=x86_64-suse-linux, glibc-2.5-25, kernel 2.6.18.2-34.
    I have also tried this on a 64 bit Red Hat machine
     

Share This Page