On 12/20/20 7:47 PM, Cameron Simpson wrote:
On 20Dec2020 16:31, ToddAndMargo <toddandma...@zoho.com> wrote:
I just want to read the time back from the system.

Then you want time(2). From "man 2 time":

NAME
    time - get time in seconds

SYNOPSIS
    #include <time.h>

    time_t time(time_t *tloc);

DESCRIPTION
    time()  returns  the  time  as  the  number of seconds since the Epoch,
    1970-01-01 00:00:00 +0000 (UTC).

    If tloc is non-NULL, the return value is  also  stored  in  the
    memory pointed to by tloc.

Cheers,
Cameron Simpson <c...@cskk.id.au>

Hi Cameron,

This is my fault for not being clear enough.
I can't use a "C" (time.h) library for what
I am doing.

What I need is a call to something inside
    /usr/lib64/libxxxx.so.x

And I do not know which one will give me the
time.

Thank you you anyway! Much appreciated.

-T

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to