time(2) plan9 man page | unix.com

Man Page: time

Operating Environment: plan9

Section: 2

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
ctime(3f) - bsd
gmtime(3f) - bsd
time(3f) - bsd
time(2) - centos
time(3) - osx
Similar Topics in the Unix Linux Community
automate sftp using unix script
Copy all the files with time stamp and remove header,trailer from file
New Feature: Member and Reader's Time Zones and Times in Profiles
Need Time Stamp Range On Log Files
Keep only the closet match of timestamped row (include headers) from file1 to precede file2 row/s