|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)ftime.3 6.2 (Berkeley) 5/17/89 ! 6: .\" ! 7: .TH FTIME 3C "May 17, 1989" ! 8: .UC 4 ! 9: .SH NAME ! 10: ftime \- get date and time ! 11: .SH SYNOPSIS ! 12: .nf ! 13: .B #include <sys/types.h> ! 14: .B #include <sys/timeb.h> ! 15: ! 16: .B ftime(tp) ! 17: .B struct timeb *tp; ! 18: .fi ! 19: .SH DESCRIPTION ! 20: .ft B ! 21: This interface is obsoleted by gettimeofday(2). ! 22: .br ! 23: It is available from the compatibility library, libcompat. ! 24: .ft R ! 25: .PP ! 26: The ! 27: .I ftime ! 28: routine fills in a structure pointed to by its argument, ! 29: as defined by ! 30: .RI < sys/timeb.h >: ! 31: .PP ! 32: .ta .5i +\w'unsigned 'u ! 33: .nf ! 34: .so /usr/include/sys/timeb.h ! 35: .fi ! 36: .PP ! 37: The structure contains the time since the epoch in seconds, ! 38: up to 1000 milliseconds of more-precise interval, ! 39: the local time zone (measured in minutes of time westward from Greenwich), ! 40: and a flag that, if nonzero, indicates that ! 41: Daylight Saving time applies locally during the appropriate part of the year. ! 42: .SH "SEE ALSO" ! 43: gettimeofday(2), settimeofday(2), time(2), ctime(3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.