From b8a0b496675e18215b59969d68305905f9851363 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 26 Mar 2016 13:24:09 +0100 Subject: [PATCH] gettimeofday.2: Clarify better what we mean. --- lib/libc/sys/gettimeofday.2 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 9924da8979..c65d752c8e 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -27,9 +27,8 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" $FreeBSD: src/lib/libc/sys/gettimeofday.2,v 1.9.2.9 2003/02/11 06:05:00 nsayer Exp $ -.\" $DragonFly: src/lib/libc/sys/gettimeofday.2,v 1.5 2008/05/02 02:05:04 swildner Exp $ .\" -.Dd May 26, 1995 +.Dd March 26, 2016 .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -46,8 +45,16 @@ .Fn settimeofday "const struct timeval *tp" "const struct timezone *tzp" .Sh DESCRIPTION .Bf -symbolic -Note: timezone is no longer used; this information is kept outside -the kernel. +Note: The +.Fn gettimeofday +and +.Fn settimeofday +functions are obsolescent. +Applications should use the +.Fn clock_gettime +and +.Fn clock_settime +functions instead. .Ef .Pp The system's notion of the current Greenwich time and the current time -- 2.11.4.GIT