Re: What is the system call for time?

2020-12-21 Thread ToddAndMargo via users
On 12/21/20 10:56 AM, Matthew Miller wrote: So, /usr/lib64/libc.so.6? Thank you! ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedorapr

Re: What is the system call for time?

2020-12-21 Thread Gordon Messmer
On 12/21/20 6:01 AM, Fulko Hew wrote: On Mon, Dec 21, 2020 at 1:25 AM ToddAndMargo via users mailto:users@lists.fedoraproject.org>> wrote: I am using Raku's NativeCall.  It only talks to .so's and .dll's. say localtime; Right.  At the risk of stating the obvious: Raku's documenta

Re: What is the system call for time?

2020-12-21 Thread Matthew Miller
On Sun, Dec 20, 2020 at 10:25:34PM -0800, ToddAndMargo via users wrote: > >>What I need is a call to something inside > >> /usr/lib64/lib.so.x > >>And I do not know which one will give me the > >>time. > >I'm trying to understand more of what you're saying here. Why can't you use > >the sta

Re: What is the system call for time?

2020-12-21 Thread Fulko Hew
On Mon, Dec 21, 2020 at 1:25 AM ToddAndMargo via users < users@lists.fedoraproject.org> wrote: > On 12/20/20 9:04 PM, Matthew Miller wrote: > > On Sun, Dec 20, 2020 at 08:39:18PM -0800, ToddAndMargo via users wrote: > >> This is my fault for not being clear enough. > >> I can't use a "C" (time.h)

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 10:56 PM, Anthony F McInerney wrote: I'm not sure if I walked off the beaten track, but does this example help? (i was looking at it out of interest and noticed it) https://docs.raku.org/language/nativecall#Specifying_the_native_representation

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 10:48 PM, Cameron Simpson wrote: On 20Dec2020 22:26, ToddAndMargo 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/lib.so.x And I do not know which one will gi

Re: What is the system call for time?

2020-12-20 Thread Anthony F McInerney
On Mon, 21 Dec 2020 at 06:27, ToddAndMargo via users < users@lists.fedoraproject.org> wrote: > On 12/20/20 9:09 PM, C Linus Hicks wrote: > > On Sun, 2020-12-20 at 20:39 -0800, ToddAndMargo via users wrote: > >> Hi Cameron, > >> > >> This is my fault for not being clear enough. > >> I can't use a "

Re: What is the system call for time?

2020-12-20 Thread Cameron Simpson
On 20Dec2020 22:26, ToddAndMargo 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/lib.so.x >>> >>>And I do not know which one will give me the >>>time. Aha.

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 9:09 PM, C Linus Hicks wrote: On Sun, 2020-12-20 at 20:39 -0800, ToddAndMargo via users wrote: 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/lib.so.x A

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 9:04 PM, Matthew Miller wrote: On Sun, Dec 20, 2020 at 08:39:18PM -0800, ToddAndMargo via users 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/lib.so.x And I d

Re: What is the system call for time?

2020-12-20 Thread C Linus Hicks
On Sun, 2020-12-20 at 20:39 -0800, ToddAndMargo via users wrote: > 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/lib.so.x > > And I do not know which one

Re: What is the system call for time?

2020-12-20 Thread Matthew Miller
On Sun, Dec 20, 2020 at 08:39:18PM -0800, ToddAndMargo via users 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/lib.so.x > > And I do not know which one will give

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 7:47 PM, Cameron Simpson wrote: On 20Dec2020 16:31, ToddAndMargo 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_t time(time_t *tloc); DESCRIPTION time()

Re: What is the system call for time?

2020-12-20 Thread Cameron Simpson
On 20Dec2020 16:31, ToddAndMargo 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_t time(time_t *tloc); DESCRIPTION time() returns the time as the number of seconds si

Re: What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
On 12/20/20 11:59 AM, Samuel Sieb wrote: On 12/20/20 6:47 AM, ToddAndMargo via users wrote: What is the library that contains the call for the time / date? Most basic system calls are part of glibc. no /usr/lib64/lib.so ?? And what is the call's name? Depends on which one you're l

Re: What is the system call for time?

2020-12-20 Thread Samuel Sieb
On 12/20/20 6:47 AM, ToddAndMargo via users wrote: What is the library that contains the call for the time / date? Most basic system calls are part of glibc. And what is the call's name? Depends on which one you're looking for. "man -k" ___ users

Re: What is the system call for time?

2020-12-20 Thread Garry T. Williams
On Sunday, December 20, 2020 9:47:01 AM EST ToddAndMargo via users wrote: > What is the library that contains the call for the time / date? > > And what is the call's name? Use the docs, Luke: From time(2): NAME time - get time in seconds SYNOPSIS #include time_t time(ti

What is the system call for time?

2020-12-20 Thread ToddAndMargo via users
Hi All, What is the library that contains the call for the time / date? And what is the call's name? Many thanks, -T ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Cod