Version 2.0.0-0

time Reference

File
lib/c99/include/c99/time.h
Date
Wednesday, June 25, 2014
Includes
  • <system/types/null.h>
  • <system/types/size_t.h>
  • <system/types/clock_t.h>
  • <system/types/time_t.h>
  • <system/types/struct_tm.h>

Tasks

asctime Top

char * asctime( const struct tm *timeptr );

clock Top

clock_t clock( void );

ctime Top

char * ctime( const time_t *timer );

difftime Top

double difftime( time_t time1, time_t time0 );

gmtime Top

struct tm * gmtime( const time_t *timer );

localtime Top

struct tm * localtime( const time_t *timer );

mktime Top

time_t mktime( struct tm *timeptr );

strftime Top

size_t strftime( char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr );

time Top

time_t time( time_t *timer );

Macros

__XEOS_LIB_C99_TIME_H__ Top

#define __XEOS_LIB_C99_TIME_H__

CLOCKS_PER_SEC Top

#define CLOCKS_PER_SEC 1000000