Annotated edit history of
stime(2) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
STIME |
|
|
2 |
!!!STIME |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
NOTES |
|
|
10 |
SEE ALSO |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
stime - set time |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__#define _SVID_SOURCE__ /* glibc2 needs this */__ |
|
|
20 |
#include |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
__int stime(time_t *__''t''__);__ |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
__stime__ sets the system's idea of the time and date. |
|
|
28 |
Time, pointed to by ''t'', is measured in seconds from |
|
|
29 |
00:00:00 GMT January 1, 1970. __stime()__ may only be |
|
|
30 |
executed by the super user. |
|
|
31 |
!!RETURN VALUE |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
On success, zero is returned. On error, -1 is returned, and |
|
|
35 |
''errno'' is set appropriately. |
|
|
36 |
!!ERRORS |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
__EPERM__ |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
The caller is not the super-user. |
|
|
43 |
!!CONFORMING TO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
SVr4, SVID, X/OPEN |
|
|
47 |
!!NOTES |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
Under glibc2, '''' only provides a |
|
|
51 |
prototype when ___SVID_SOURCE__ is defined. |
|
|
52 |
!!SEE ALSO |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
date(1), settimeofday(2) |
|
|
56 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.