RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Clock Manager time - Get time in seconds

PREV UP next Bookshelf RTEMS POSIX API User's Guide

14.4.8: time - Get time in seconds

CALLING SEQUENCE:

#include <time.h>

int time(
  time_t *tloc
);

STATUS CODES:

This routine returns the number of seconds since the Epoch.

DESCRIPTION:

time returns the time since 00:00:00 GMT, January 1, 1970, measured in seconds

If tloc in non null, the return value is also stored in the memory pointed to by t.

NOTES:

NONE


PREV UP next Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation