stime.2: Note that stime() is deprecated

As per glibc 2.31 feature notes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-11-23 10:53:56 +01:00
parent d279876353
commit 445fc03eeb
1 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,12 @@ Feature Test Macro Requirements for glibc (see
Glibc 2.19 and earlier:
_SVID_SOURCE
.SH DESCRIPTION
.BR NOTE :
This function is deprecated;
use
.BR clock_settime (2)
instead.
.PP
.BR stime ()
sets the system's idea of the time and date.
The time, pointed
@ -70,6 +76,11 @@ Under Linux, the
privilege is required.
.SH CONFORMING TO
SVr4.
.SH NOTES
Starting with glibc 2.31,
this function is no longer available to newly linked applications
and is no longer declared in
.R <time.h> .
.SH SEE ALSO
.BR date (1),
.BR settimeofday (2),