*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ftime (3c)              
Title
Content
Arch
Section
 

Contents


ftime(3C)							     ftime(3C)


NAME    [Toc]    [Back]

     ftime - get date and time

SYNOPSIS    [Toc]    [Back]

     #include <sys/timeb.h>

     int ftime(struct timeb *tp);

DESCRIPTION    [Toc]    [Back]

     ftime sets	the time and millitm members of	the timeb structure pointed to
     by	tp to contain the seconds and milliseconds, respectively, of the
     current time in seconds since 00:00:00 UTC, January 1, 1970.  The
     contents of the timezone and dstflag members of tp	after a	call to
     ftime() are unspecified.

SEE ALSO    [Toc]    [Back]

      
      
     time(2), stime(2),	gettimeofday(3B), ctime(3C)

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion, the ftime function returns 0. Otherwise -1 is
     returned.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gettimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
TIMEVAL64TO32 Tru64 Gets and sets date and time and converts time between timeval and timeval64
TIMEVAL32TO64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
gettimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
ftime Tru64 Gets and sets date and time and converts time between timeval and timeval64
ntp_gettime Tru64 Get the date, time, and kernel time error values
ntpdate Tru64 set the date and time via NTP (Network Time Protocol)
ntpdate FreeBSD set the date and time via NTP
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service