| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | .\" $NetBSD: ctime.3,v 1.60 2018/10/19 23:05:35 christos Exp $ | | 1 | .\" $NetBSD: ctime.3,v 1.61 2019/09/02 00:24:01 sevan Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" XXX: License missing? | | 3 | .\" XXX: License missing? |
4 | .\" | | 4 | .\" |
5 | .Dd May 5, 2018 | | 5 | .Dd September 2, 2019 |
6 | .Dt CTIME 3 | | 6 | .Dt CTIME 3 |
7 | .Os | | 7 | .Os |
8 | .Sh NAME | | 8 | .Sh NAME |
9 | .Nm asctime , | | 9 | .Nm asctime , |
10 | .Nm asctime_r , | | 10 | .Nm asctime_r , |
11 | .Nm ctime , | | 11 | .Nm ctime , |
12 | .Nm ctime_r , | | 12 | .Nm ctime_r , |
13 | .Nm ctime_rz , | | 13 | .Nm ctime_rz , |
14 | .Nm difftime , | | 14 | .Nm difftime , |
15 | .Nm gmtime , | | 15 | .Nm gmtime , |
16 | .Nm gmtime_r , | | 16 | .Nm gmtime_r , |
17 | .Nm localtime , | | 17 | .Nm localtime , |
18 | .Nm localtime_r , | | 18 | .Nm localtime_r , |
| @@ -484,26 +484,31 @@ and | | | @@ -484,26 +484,31 @@ and |
484 | .Sh STANDARDS | | 484 | .Sh STANDARDS |
485 | The | | 485 | The |
486 | .Fn ctime , | | 486 | .Fn ctime , |
487 | .Fn difftime , | | 487 | .Fn difftime , |
488 | .Fn asctime , | | 488 | .Fn asctime , |
489 | .Fn localtime , | | 489 | .Fn localtime , |
490 | .Fn gmtime | | 490 | .Fn gmtime |
491 | and | | 491 | and |
492 | .Fn mktime | | 492 | .Fn mktime |
493 | functions conform to | | 493 | functions conform to |
494 | .St -ansiC . | | 494 | .St -ansiC . |
495 | Rest of the functions conform to | | 495 | Rest of the functions conform to |
496 | .St -p1003.1-2008 . | | 496 | .St -p1003.1-2008 . |
| | | 497 | .Sh HISTORY |
| | | 498 | A |
| | | 499 | .Fn ctime |
| | | 500 | function appeared in |
| | | 501 | .At v1 . |
497 | .Sh CAVEATS | | 502 | .Sh CAVEATS |
498 | The functions that do not take an explicit | | 503 | The functions that do not take an explicit |
499 | .Ft timezone_t | | 504 | .Ft timezone_t |
500 | argument return values pointing to static data; the data is overwritten by | | 505 | argument return values pointing to static data; the data is overwritten by |
501 | each call. | | 506 | each call. |
502 | For the above functions the | | 507 | For the above functions the |
503 | .Dv tzname | | 508 | .Dv tzname |
504 | variable (once set) and the | | 509 | variable (once set) and the |
505 | .Fa tm_zone | | 510 | .Fa tm_zone |
506 | field of a returned | | 511 | field of a returned |
507 | .Va "struct tm" | | 512 | .Va "struct tm" |
508 | point to an array of characters that | | 513 | point to an array of characters that |
509 | can be freed or overwritten by later calls to the functions | | 514 | can be freed or overwritten by later calls to the functions |