A
August Karlstrom
Hi,
Does anyone know why some of the functions in time.h use pointers to
constant objects of type time_t when time_t is an aritmetic type. Why is
e.g. ctime declared as
char* ctime(const time_t* tp);
and not as
char* ctime(time_t t);
?
Regards,
August
Does anyone know why some of the functions in time.h use pointers to
constant objects of type time_t when time_t is an aritmetic type. Why is
e.g. ctime declared as
char* ctime(const time_t* tp);
and not as
char* ctime(time_t t);
?
Regards,
August