projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fixed it to work on terminals with over 48 lines, and fixed bug
[unix-history]
/
.ref-BSD-3
/
usr
/
man
/
man2
/
stime.2
.TH STIME 2
.SH NAME
stime \- set time
.SH SYNOPSIS
.B stime(tp)
.br
.B long *tp;
.SH DESCRIPTION
.I Stime
sets the system's idea of the time and date.
Time, pointed to by
.I tp,
is measured in seconds from 0000 GMT Jan 1, 1970.
Only the super-user may use this call.
.SH "SEE ALSO"
date(1), time(2), ctime(3)
.SH DIAGNOSTICS
Zero is returned if the time was set;
\-1 if user is not the super-user.
.SH "ASSEMBLER (PDP-11)"
(stime = 25.)
.br
(time in r0-r1)
.br
.B sys stime
.PP