:man| Alphabetical   Categories   About us 
 
TIME (3) | C library functions | Unix Manual Pages | :man

NAME

time - get time of day

CONTENTS

Library
Synopsis
Description
Errors
See Also
Standards
History
Bugs

LIBRARY


.Lb libc

SYNOPSIS


.In time.h time_t time "time_t *tloc"

DESCRIPTION

The time function returns the value of time in seconds since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time. If an error occurs, time returns the value (Vt time_t-1).

The return value is also stored in * tloc, provided that tloc is non-null.

ERRORS

The time function may fail for any of the reasons described in gettimeofday(2).

SEE ALSO

gettimeofday(2), ctime(3)

STANDARDS

HISTORY

BUGS

 
Created by Blin Media, 2008-2013