mirror of https://github.com/mkerrisk/man-pages
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:
parent
d279876353
commit
445fc03eeb
11
man2/stime.2
11
man2/stime.2
|
@ -46,6 +46,12 @@ Feature Test Macro Requirements for glibc (see
|
||||||
Glibc 2.19 and earlier:
|
Glibc 2.19 and earlier:
|
||||||
_SVID_SOURCE
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
.BR NOTE :
|
||||||
|
This function is deprecated;
|
||||||
|
use
|
||||||
|
.BR clock_settime (2)
|
||||||
|
instead.
|
||||||
|
.PP
|
||||||
.BR stime ()
|
.BR stime ()
|
||||||
sets the system's idea of the time and date.
|
sets the system's idea of the time and date.
|
||||||
The time, pointed
|
The time, pointed
|
||||||
|
@ -70,6 +76,11 @@ Under Linux, the
|
||||||
privilege is required.
|
privilege is required.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4.
|
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
|
.SH SEE ALSO
|
||||||
.BR date (1),
|
.BR date (1),
|
||||||
.BR settimeofday (2),
|
.BR settimeofday (2),
|
||||||
|
|
Loading…
Reference in New Issue