Function Signatures In time.h
- From: August Karlstrom <fusionfive@xxxxxxxxx>
- Date: Sun, 30 Apr 2006 13:05:42 GMT
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
.
- Follow-Ups:
- Re: Function Signatures In time.h
- From: Diomidis Spinellis
- Re: Function Signatures In time.h
- Prev by Date: Re: discussing C evolution
- Next by Date: Re: help me learn C
- Previous by thread: Question about (double *)NULL
- Next by thread: Re: Function Signatures In time.h
- Index(es):