STIME

Section: System Calls (2)
Index Return to Main Contents
 

NAME

stime - set time  

SYNOPSIS

stime(tp)
long *tp;  

DESCRIPTION

Stime sets the system's idea of the time and date. Time, pointed to by tp, is measured in seconds from 0000 GMT Jan 1, 1970. Only the super-user may use this call.  

SEE ALSO

date(1), time(2), ctime(3)  

DIAGNOSTICS

Zero is returned if the time was set; -1 if user is not the super-user.  

ASSEMBLER

(stime = 25.)
(time in r0-r1)
sys stime


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
DIAGNOSTICS
ASSEMBLER

This document was created by man2html, using the manual pages.
Time: 10:17:26 GMT, December 28, 2024