Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stime(2) — Ultrix WS 2.0 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gettimeofday(2)

time(3)

stime(2)

NAME

stime − set time

SYNTAX

int stime (tp)
long *tp;

DESCRIPTION

The stime system call sets the system’s time and date. The tp argument points to the value of time as measured in seconds from 00:00:00 GMT January 1, 1970. 

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. 

DIAGNOSTICS

[EPERM] The effective user ID of the calling process is not superuser. 

SEE ALSO

gettimeofday(2), time(3)

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