NAME

time - get time

SYNOPSIS

#include "zkTime.h"

time_t time(time_t *tloc);

DESCRIPTION

The time() function returns the current calendar time.

The tloc argument points to an area where the return value is also stored. If tloc is NULL, no value is stored.

RETURN VALUE

Upon successful completion, time() returns the value of time. Otherwise, (time_t)-1 is returned.

ERRORS

No errors are defined.