From ac4c177444cfea95ddb17da37c9c86fea50f54ba Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Fri, 10 May 1985 00:59:41 -0800 Subject: [PATCH 1/1] manual page distributed with 4.2BSD SCCS-vsn: lib/libcompat/4.1/ftime.3 5.1 --- usr/src/lib/libcompat/4.1/ftime.3 | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/usr/src/lib/libcompat/4.1/ftime.3 b/usr/src/lib/libcompat/4.1/ftime.3 index 3b2f483c9e..b2776c7730 100644 --- a/usr/src/lib/libcompat/4.1/ftime.3 +++ b/usr/src/lib/libcompat/4.1/ftime.3 @@ -2,9 +2,9 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)ftime.3 4.1 (Berkeley) %G% +.\" @(#)ftime.3 5.1 (Berkeley) %G% .\" -.TH TIME 2 +.TH TIME 3C "1 April 1983" .UC 4 .SH NAME time, ftime \- get date and time @@ -21,6 +21,10 @@ time, ftime \- get date and time .B struct timeb *tp; .fi .SH DESCRIPTION +.ft B +These interfaces are obsoleted by gettimeofday(2). +.ft R +.PP .I Time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. @@ -37,7 +41,7 @@ The .I ftime entry fills in a structure pointed to by its argument, as defined by -.IR : +.RI < sys/timeb.h >: .PP .ta .5i +\w'unsigned 'u .nf @@ -50,14 +54,4 @@ the local time zone (measured in minutes of time westward from Greenwich), and a flag that, if nonzero, indicates that Daylight Saving time applies locally during the appropriate part of the year. .SH "SEE ALSO" -date(1), stime(2), ctime(3) -.SH "ASSEMBLER (PDP-11)" -(ftime = 35.) -.br -.B sys ftime; bufptr -.PP -(time = 13.; obsolete call) -.br -.B sys time -.br -(time since 1970 in r0-r1) +date(1), gettimeofday(2), settimeofday(2), ctime(3) -- 2.20.1