[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211030213131.140429-20-alx.manpages@gmail.com>
Date: Sat, 30 Oct 2021 23:31:29 +0200
From: Alejandro Colomar <alx.manpages@...il.com>
To: mtk.manpages@...il.com, linux-man@...r.kernel.org
Cc: git@...r.kernel.org, Alejandro Colomar <alx.manpages@...il.com>,
linux-kernel@...r.kernel.org, libc-alpha@...rceware.org
Subject: [PATCH 19/22] gettimeofday.2: SYNOPSIS: Mark as [[deprecated]]
Use clock_gettime(2) instead.
Signed-off-by: Alejandro Colomar <alx.manpages@...il.com>
---
man2/gettimeofday.2 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2
index 8101e311d..f4b7189d7 100644
--- a/man2/gettimeofday.2
+++ b/man2/gettimeofday.2
@@ -44,10 +44,10 @@ gettimeofday, settimeofday \- get / set time
.nf
.B #include <sys/time.h>
.PP
-.BI "int gettimeofday(struct timeval *restrict " tv ,
-.BI " struct timezone *restrict " tz );
-.BI "int settimeofday(const struct timeval *" tv ,
-.BI " const struct timezone *" tz );
+.BI "[[deprecated]] int gettimeofday(struct timeval *restrict " tv ,
+.BI " struct timezone *restrict " tz );
+.BI "[[deprecated]] int settimeofday(const struct timeval *" tv ,
+.BI " const struct timezone *" tz );
.fi
.PP
.RS -4
--
2.33.1
Powered by blists - more mailing lists