localtime and localtime_r
I would like to know the difference between localtime and localtime_r
|
1. Open a terminal.
2. Type the following: Code:
man localtime jdk |
Hi,
localtime_r() takes a second argument that has the return value. From the man page: Code:
The localtime() function converts the calendar time timep to broken-down time repre‐ |
All times are GMT -5. The time now is 06:26 PM. |