Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stime(2) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

date(1)

gettimeofday(2)

time(2)

STIME(2)

NAME

stime − set time and date

SYNOPSIS

int stime (tp)
long ∗tp;

HP-UX COMPATIBILITY

Level: HP-UX/RUN ONLY

Origin: System V

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. 

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

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. 

HARDWARE DEPENDENCIES

Integral PC:
The super-user capabilities are provided to the normal user.

SEE ALSO

date(1), gettimeofday(2), time(2). 

Hewlett-Packard  —  last mod. May 11, 2021

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