[BACK]Return to ctime.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / time

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/time/ctime.3 between version 1.45 and 1.46

version 1.45, 2011/11/02 19:59:40 version 1.46, 2011/11/02 23:06:08
Line 436  functions conform to
Line 436  functions conform to
 Rest of the functions conform to  Rest of the functions conform to
 .St -p1003.1-2008 .  .St -p1003.1-2008 .
 .Sh CAVEATS  .Sh CAVEATS
 The return values point to static data; the data is overwritten by  The functions that do not take an explicit
   .Ft timezone_t
   argument return values point to static data; the data is overwritten by
 each call.  each call.
 The  For the above functions the
 .Fa tm_zone  .Fa tm_zone
 field of a returned  field of a returned
 .Va "struct tm"  .Va "struct tm"
Line 446  points to a static array of characters, 
Line 448  points to a static array of characters, 
 will also be overwritten at the next call  will also be overwritten at the next call
 (and by calls to  (and by calls to
 .Xr tzset 3 ) .  .Xr tzset 3 ) .
   The functions that do take an explicit
   .Ft timezone_t
   argument and set the fields of a supplied
   .Va "struct tm"
   should not call
   .Fn tzfree
   since the
   .Fa tm_zone
   field of the
   .Va "struct tm"
   points to data allocated by
   .Fn tzalloc .
 .Pp  .Pp
 The  The
 .Fn asctime  .Fn asctime

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>