Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stime(2) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

time(2)



STIME(2-SVR4)       RISC/os Reference Manual        STIME(2-SVR4)



NAME
     stime - set time

SYNOPSIS
     #include <unistd.h>

     int stime(const timet *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 UTC January 1, 1970.

     stime will fail if:

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

SEE ALSO
     time(2).

DIAGNOSTICS
     Upon successful completion, a value of 0 is returned.  Oth-
     erwise, a value of -1 is returned and errno is set to indi-
     cate the error.






























                        Printed 11/19/92                   Page 1



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