Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (2) — Plan9 1st Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cons(3)

TIME(2)

NAME

time − time in seconds since epoch

SYNOPSIS

­long time(long ∗tp)

DESCRIPTION

­Time returns the number of seconds since the epoch 00:00:00 GMT, Jan. 1, 1970.  If ­tp is not zero then ∗tp is also set to the answer. 

This function works by reading /dev/time, opening that file when ­time is first called. 

SEE ALSO

cons(3)

DIAGNOSTICS

Sets ­errstr. 

Plan 9  —  January 03, 1993

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