On 20Dec2020 22:26, ToddAndMargo <[email protected]> wrote:
>>>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.
Aha.
Well, the "date" command loooks up the time. What libraries does it
access?
[~]borg*> ldd /bin/date
linux-vdso.so.1 (0x00007fffc3b5b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1976012000)
/lib64/ld-linux-x86-64.so.2 (0x00007f197622f000)
So that's where the libc library .so lives.
I was going to suggest the "nm" command, which should access the symbol
tables of object files (including executables and library files). But it
doesn't work on my Linux box here.
Cheers,
Cameron Simpson <[email protected]>
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]