plan9 man page for time

Query: time

OS: plan9

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TIME(2) 							System Calls Manual							   TIME(2)

NAME
time - time in seconds since epoch
SYNOPSIS
#include <u.h> #include <libc.h> long time(long *tp) /* Alef only */ int time();
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. Alef In Alef, time does not take an argument.
SOURCE
/sys/src/libc/9sys/time.c
SEE ALSO
cons(3)
DIAGNOSTICS
Sets errstr. TIME(2)
Related Man Pages
time(2) - redhat
time(2) - linux
time(2) - suse
ctime(2) - plan9
time(3) - netbsd
Similar Topics in the Unix Linux Community
Gollum, You Need a Full Time Trainer!
Copying files with the latest date
What to do in free time?
How Much Vacation Do You Take Every Year?
How to pick only the latest files based on the timestamp?