Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ time(S) — System V/386 Software Development System 3.2.2b

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     TIME(S)                   UNIX System V                   TIME(S)



     Name
          time - get time

     Syntax
          #include <sys/types.h>

          time_t time (tloc)
          long *tloc;

     Description
          The time system call returns the value of time in seconds
          since 00:00:00 Greenwich Mean Time (GMT), January 1, 1970.

          If tloc is non-zero, the return value is also stored in the
          location to which tloc points.

     See Also
          stime(S)

     Diagnostics
          Upon successful completion, time returns the value of time.
          Otherwise, a value of -1 is returned, and errno is set to
          indicate the error.

     Warning
          The time system call fails and its actions are undefined if
          tloc points to an illegal address.

     Standards Conformance
          time is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          The X/Open Portability Guide II of January 1987;
          ANSI X3.159-198X C Language Draft Standard, May 13,
          1988;
          IEEE POSIX Std 1003.1-1988 with C Standard Language-
          Dependent System Support;
          and NIST FIPS 151-1.
                                                (printed 6/20/89)



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