delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/28/09:21:35

From: jk AT soas DOT ac DOT uk (Jonathan Kaye)
Subject: ftime
28 Jan 1997 09:21:35 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <AAA70E72FB.cygnus.gnu-win32@soas.ac.uk>
Reply-To: jk AT soas DOT ac DOT uk
Comments: Authenticated sender is <jk@[193.63.73.3]>
Original-To: gnu-win32 AT cygnus DOT com
X-mailer: Pegasus Mail for Windows (v2.50)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Can anyone tell me if cygwin has a function like "ftime" (the man 
entry from a Unix box (Sun). Follows. Help would be greatly 
appreciated.
TIA
Jonathan
------------------ man entry for ftime (among other things)
 ftime() fills in a structure pointed to by tp, as defined in
     <sys/timeb.h>:
          struct timeb
          {
               time_t   time;
               unsigned short millitm;
               short    timezone;
               short    dstflag;
          };

     The structure contains the time since the epoch in  seconds, up 
     to 1000 milliseconds of more-precise interval, the local time 
     zone  (measured  in  minutes  of  time  westward  from
     Greenwich), and a flag that, if nonzero, indicates that Day-
     light Saving time applies  locally  during  the  appropriate part
     of the year.


Jonathan Kaye
Department of Linguistics
SOAS
Thornhaugh Street
London WC1H 0XG UK
Tel. +44-171-323-6362
Fax. +44-171-323-6362
WWW. http://jk.soas.ac.uk
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019