Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

time(2)

STIME(2)  —  Silicon Graphics

NAME

stime − set time

SYNOPSIS

int stime (tp)
long ∗tp;

DESCRIPTION

Stime sets the system’s idea of the time and date.  Tp points to the value of time as measured in seconds from 00:00:00 GMT January 1, 1970. 

Stime will fail if the effective user ID of the calling process is not super-user.  ­[EPERM]

RETURN VALUE

Upon successful completion, a value of 0 is returned.  Otherwise, a value of −1 is returned and errno is set to indicate the error. 

SEE ALSO

time(2). 

ASSEMBLER

moveq#25,D0
movltp,A0
trap#0

Carry bit set on failure and cleared on success. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026