[PD] Timestamp

Michael McGonagle fndsnd at rcnchicago.com
Mon Jun 9 01:16:16 CEST 2003


Hans,

Your right. I did search for this, and all the docs are there.

But, when I do run the following:

cd /usr/include/sys
fgrep ftime *.c *.h

I get:

timeb.h:/* The ftime(2) system call structure -- deprecated. */


I wonder if there is some incompatibility between headers. I have the 
most recent versions of the Apple development tools, I wonder if this 
has been removed, and the message above really does mean something. I 
will have to ask on the Cocoa list.

Thanks,

Mike


Hans-Christoph Steiner wrote:
> 
> Try: man ftime
> 
> NAME
>      ftime - get date and time
> 
> SYNOPSIS
>      #include <sys/types.h>
>      #include <sys/timeb.h>
> 
>      int
>      ftime(struct timeb *tp);
> 
> DESCRIPTION
>      This interface is obsoleted by gettimeofday(2).  It is available 
> from the
>      compatibility library, libcompat.
> 
> 
> .hc
> 
> On Sunday, Jun 8, 2003, at 00:29 America/New_York, Michael McGonagle wrote:
> 
>> Speaking of these things, when I tried to compile zexy on Mac OS X, I 
>> got the error that the function 'ftime' was not available. I looked 
>> thru the Mac OS X headers (time.h et al.), but there was no definition 
>> for this function.
>>
>> I did go into the makefile and temporarily remove those things ('time' 
>> and 'date'), and everything else compiles.
>>
>> Does anyone know of an equivelent function, or an implementation of 
>> 'ftime' for the Mac?
>>
>> Thanks,
>>
>> Mike
>>
>>
>> David McCallum wrote:
>>
>>>         Zexy has [time] and [date] objects.
>>> David
>>> At 06:09 06/06/2003, Alex wrote:
>>>
>>>> Hi,
>>>>
>>>> I was wondering to know if anybody has info about timestamping ?
>>>> Is it possible to produce a timestamp in pd, any existing objects ?
>>>> Welll any info is welcome.
>>>>
>>>> Thanks.
>>>> Alex
>>>>
>>>>
>>>> _______________________________________________
>>>> PD-list mailing list
>>>> PD-list at iem.kug.ac.at
>>>> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>>>>
>>> .
>>> . Music wants to be free
>>> .  http://mentalfloss.ca/sintheta/
>>> .
>>> .  Please note that my e-mail address is changing.
>>> . Either use this address, or check my website for the most recent.
>>> .
>>> _______________________________________________
>>> PD-list mailing list
>>> PD-list at iem.kug.ac.at
>>> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>>
>>
>>
>>
>> _______________________________________________
>> PD-list mailing list
>> PD-list at iem.kug.ac.at
>> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 






More information about the Pd-list mailing list