TIME man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

TIME(2)								       TIME(2)

NAME
       time, nsec - time in seconds and nanoseconds since epoch

SYNOPSIS
       #include <u.h>
       #include <libc.h>

       long time(long *tp)

       vlong nsec(void)

DESCRIPTION
       Both  time  and nsec return the time since the epoch 00:00:00 GMT, Jan.
       1, 1970.	 The return value of the former is in seconds and  the	latter
       in  nanoseconds.	  For  time, if tp is not zero then *tp is also set to
       the answer.

       Times from time should be stored in and treated as ulongs; this extends
       the range of valid times into the year 2106.

       These  functions	 work  by reading /dev/bintime, opening that file when
       they are first called.

SOURCE
       /sys/src/libc/9sys/time.c
       /sys/src/libc/9sys/nsec.c

SEE ALSO
       cputime(2), cons(3)

DIAGNOSTICS
       Sets errstr.

BUGS
       These routines maintain a static file descriptor.

								       TIME(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net