1 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\" Modified by Michael Haardt <michael@moria.de>
6 .\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
7 .\" Modified 2001-03-16 by Andries Brouwer <aeb@cwi.nl>
8 .\" Modified 2004-05-27 by Michael Kerrisk <mtk.manpages@gmail.com>
10 .TH STIME 2 2021-03-22 "Linux man-pages (unreleased)"
17 .BI "int stime(const time_t *" t );
21 Feature Test Macro Requirements for glibc (see
22 .BR feature_test_macros (7)):
29 Glibc 2.19 and earlier:
34 This function is deprecated;
40 sets the system's idea of the time and date.
42 to by \fIt\fP, is measured in seconds since the
43 Epoch, 1970-01-01 00:00:00 +0000 (UTC).
45 may be executed only by the superuser.
47 On success, zero is returned.
48 On error, \-1 is returned, and
50 is set to indicate the error.
54 Error in getting information from user space.
57 The calling process has insufficient privilege.
60 privilege is required.
64 Starting with glibc 2.31,
65 this function is no longer available to newly linked applications
66 and is no longer declared in