+ 1

time function

can we use time(1) or time(2)? what happen if we do it? (sorry for bad english)

17th May 2020, 8:05 PM
Kumudu_Mohottala
Kumudu_Mohottala - avatar
1 Odpowiedź
+ 2
I dont think the time function should get a number as a parameter. It takes NULL or a pointer to an object of time_t as a parameter to store the current time.
17th May 2020, 8:43 PM
Jnn
Jnn - avatar