1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" Modified by Michael Haardt <michael@moria.de>
26 .\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
27 .\" Modified 2001-03-16 by Andries Brouwer <aeb@cwi.nl>
28 .\" Modified 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
30 .TH STIME 2 2004-05-27 "Linux 2.6.6" "Linux Programmer's Manual"
34 .BR "#define _SVID_SOURCE" " /* glibc2 needs this */"
38 .BI "int stime(time_t *" t );
41 sets the system's idea of the time and date.
43 to by \fIt\fP, is measured in seconds from 00:00:00 GMT January 1, 1970.
45 may only be executed by the superuser.
47 On success, zero is returned.
48 On error, \-1 is returned, and
54 Error in getting information from user space.
57 The calling process has insufficient privilege.
60 privilege is required.
66 only provides a prototype when
73 .BR feature_test_macros (7)