diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 12:45:11 +0000 | 
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 12:45:11 +0000 | 
| commit | 1fae73b137bfc5a237d7258e3c667ba87a36b7ff (patch) | |
| tree | ee7f7ba4650cadf44410ca9a44676c72c96739b7 /lib/libc/stdtime | |
| parent | 68eec1f80cd88e91cb92d06ce4ae75fc5077ab13 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime')
| -rw-r--r-- | lib/libc/stdtime/ctime.3 | 14 | 
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index d970e4f5ed5e..63c3408a9129 100644 --- a/lib/libc/stdtime/ctime.3 +++ b/lib/libc/stdtime/ctime.3 @@ -140,15 +140,19 @@ Thu Nov 24 18:22:48 1986\en\e0  .Pp  All the fields have constant width.  .Pp +The  .Fn ctime_r +function  provides the same functionality as  .Fn ctime  except the caller must provide the output buffer  .Fa buf  to store the result, which must be at least 26 characters long. +The  .Fn localtime_r  and  .Fn gmtime_r +functions  provide the same functionality as  .Fn localtime  and @@ -166,7 +170,9 @@ pointed at by  to the form  shown in the example above.  .Pp +The  .Fn asctime_r +function  provides the same functionality as  .Fn asctime  except the caller provide the output buffer @@ -183,11 +189,15 @@ values returned by the  .Xr time 3  function (that is, seconds from the Epoch,  .Tn UTC ) . +The  .Fn mktime +function  interprets the input structure according to the current timezone setting  (see  .Xr tzset 3 ) . +The  .Fn timegm +function  interprets the input structure as representing Universal Coordinated Time  .Pq Tn UTC .  .Pp @@ -240,7 +250,9 @@ is not set until  and  .Fa tm_year  are determined. -.Fn Mktime +The +.Fn mktime +function  returns the specified calendar time; if the calendar time cannot be  represented, it returns \-1;  .Pp  | 
