ftime man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

ftime(2)							      ftime(2)

       ftime - get date and time more precisely

       This  facility  is  provided for backwards compatibility with Version 7
       systems.	 Either or should be used in new programs.

       fills in a structure pointed to by its argument, as defined by

	       * Structure returned by ftime system call
	      struct timeb {
		  time_t	 time;
		  unsigned short millitm;
		  short		 timezone;
		  short		 dstflag;

       The structure contains the time in seconds since 00:00:00 UTC  (Coordi‐
       nated  Universal	 Time),	 January  1,  1970, up to 1000 milliseconds of
       more-precise interval, the local timezone (measured in minutes of  time
       westward	 from  UTC),  and a flag that, if nonzero, indicates that Day‐
       light Saving time applies locally during the appropriate	 part  of  the
       year.   Consult	gettimeofday(2) for more details on the meaning of the
       timezone field.

       can fail for exactly the same reasons as gettimeofday(2).

       The millisecond value usually has a granularity greater than one due to
       the resolution of the system clock.  Depending on any granularity (par‐
       ticularly a granularity of one) renders code non-portable.

       date(1), gettimeofday(2), stime(2), time(2), ctime(3C).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net