gettimeofday.2: Note that POSIX.1-2008 recommends clock_gettime() instead of this API

Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-03-15 06:53:47 +13:00
parent ff6db39993
commit 3f372391ea
1 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,7 @@
.\" Modified, 2004-05-27 by Michael Kerrisk <mtk.manpages@gmail.com>
.\" Added notes on capability requirement.
.\"
.TH GETTIMEOFDAY 2 2008-08-21 "Linux" "Linux Programmer's Manual"
.TH GETTIMEOFDAY 2 2009-03-25 "Linux" "Linux Programmer's Manual"
.SH NAME
gettimeofday, settimeofday \- get / set time
.SH SYNOPSIS
@ -221,7 +221,9 @@ but not
.BR settimeofday ().
POSIX.1-2008 marks
.BR gettimeofday ()
as obsolete.
as obsolete, recomending the use of
.BR clock_gettime (2)
instead.
.SH NOTES
.LP
Traditionally, the fields of