File:  [Research Unix] / researchv10dc / man / adm / man2 / stime.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH STIME 2
.CT 2 sa
.SH NAME
stime, biasclock \(mi set time
.SH SYNOPSIS
.nf
.B int stime(tp)
.B long *tp;
.sp
.B biasclock(milli)
.B long milli;
.fi
.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 00:00:00 GMT Jan 1, 1970.
.PP
.I Biasclock
informs the system that
its idea of the time
should be incremented by
.I milli
milliseconds.
The system will make the adjustment
gradually
and without causing time to run backwards.
.PP
Only the super-user may use these calls.
.SH "SEE ALSO"
.IR date (1), 
.IR wwv (1),
.IR time (2), 
.IR ctime (3)
.SH DIAGNOSTICS
.B EPERM

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.