BSD 4_4 development
[unix-history] / usr / share / man / cat3 / asctime.0
index b1cba78..cb0fe12 100644 (file)
-
-
-
-CTIME(3)                     1990                       CTIME(3)
-
-
+CTIME(3)                    BSD Programmer's Manual                   CTIME(3)
 
 N\bNA\bAM\bME\bE
 
 N\bNA\bAM\bME\bE
-     asctime, ctime, difftime, gmtime, localtime, mktime, tzset,
-     tzsetwall - convert date and time to ASCII
+     a\bas\bsc\bct\bti\bim\bme\be, c\bct\bti\bim\bme\be, d\bdi\bif\bff\bft\bti\bim\bme\be, g\bgm\bmt\bti\bim\bme\be, l\blo\boc\bca\bal\blt\bti\bim\bme\be, m\bmk\bkt\bti\bim\bme\be - transform binary
+     date and time value to ASCII
 
 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
 
 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
-     e\bex\bxt\bte\ber\brn\bn c\bch\bha\bar\br *\b*t\btz\bzn\bna\bam\bme\be[\b[2\b2]\b];\b;
-
-     v\bvo\boi\bid\bd t\btz\bzs\bse\bet\bt(\b()\b)
-
-     v\bvo\boi\bid\bd t\btz\bzs\bse\bet\btw\bwa\bal\bll\bl(\b()\b)
-
      #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsy\bys\bs/\b/t\bty\byp\bpe\bes\bs.\b.h\bh>\b>
      #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsy\bys\bs/\b/t\bty\byp\bpe\bes\bs.\b.h\bh>\b>
-
-     c\bch\bha\bar\br *\b*c\bct\bti\bim\bme\be(\b(c\bcl\blo\boc\bck\bk)\b)
-     t\bti\bim\bme\be_\b_t\bt *\b*c\bcl\blo\boc\bck\bk;\b;
-
-     d\bdo\bou\bub\bbl\ble\be d\bdi\bif\bff\bft\bti\bim\bme\be(\b(t\bti\bim\bme\be1\b1,\b, t\bti\bim\bme\be0\b0)\b)
-     t\bti\bim\bme\be_\b_t\bt t\bti\bim\bme\be1\b1;\b;
-     t\bti\bim\bme\be_\b_t\bt t\bti\bim\bme\be0\b0;\b;
-
      #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<t\bti\bim\bme\be.\b.h\bh>\b>
 
      #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<t\bti\bim\bme\be.\b.h\bh>\b>
 
-     c\bch\bha\bar\br *\b*a\bas\bsc\bct\bti\bim\bme\be(\b(t\btm\bm)\b)
-     s\bst\btr\bru\buc\bct\bt t\btm\bm *\b*t\btm\bm;\b;
-
-     s\bst\btr\bru\buc\bct\bt t\btm\bm *\b*l\blo\boc\bca\bal\blt\bti\bim\bme\be(\b(c\bcl\blo\boc\bck\bk)\b)
-     l\blo\bon\bng\bg *\b*c\bcl\blo\boc\bck\bk;\b;
-
-     s\bst\btr\bru\buc\bct\bt t\btm\bm *\b*g\bgm\bmt\bti\bim\bme\be(\b(c\bcl\blo\boc\bck\bk)\b)
-     l\blo\bon\bng\bg *\b*c\bcl\blo\boc\bck\bk;\b;
-
-     t\bti\bim\bme\be_\b_t\bt m\bmk\bkt\bti\bim\bme\be(\b(t\btm\bm)\b)
-     s\bst\btr\bru\buc\bct\bt t\btm\bm *\b*t\btm\bm;\b;
-
-D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-     _\bT_\bz_\bs_\be_\bt uses the value of the environment variable T\bTZ\bZ to set
-     time conversion information used by _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be.  If T\bTZ\bZ does
-     not appear in the environment, the best available approxima-
-     tion to local wall clock time, as specified by the
-     _\bt_\bz_\bf_\bi_\bl_\be(5)-format file l\blo\boc\bca\bal\blt\bti\bim\bme\be in the system time conver-
-     sion information directory, is used by _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be.       If T\bTZ\bZ
-     appears in the environment but its value is a null string,
-     Coordinated Universal Time (UTC) is used (without leap
-     second correction).  If T\bTZ\bZ appears in the environment and
-     its value is not a null string:
-
-         if the value begins with a colon, it is used as a path-
-         name of a file from which to read the time conversion
-         information;
-
-         if the value does not begin with a colon, it is first
-         used as the pathname of a file from which to read the
-
-
-
-Printed 7/27/90               June                             1
-
-
-
-
-
-
-CTIME(3)                     1990                       CTIME(3)
-
-
-
-         time conversion information, and, if that file cannot
-         be read, is used directly as a specification of the
-         time conversion information.
-
-     When T\bTZ\bZ is used as a pathname, if it begins with a slash, it
-     is used as an absolute pathname; otherwise, it is used as a
-     pathname relative to a system time conversion information
-     directory.  The file must be in the format specified in
-     _\bt_\bz_\bf_\bi_\bl_\be(5).
-
-     When T\bTZ\bZ is used directly as a specification of the time
-     conversion information, it must have the following syntax
-     (spaces inserted for clarity):
-
-         _\bs_\bt_\bd_\bo_\bf_\bf_\bs_\be_\bt[_\bd_\bs_\bt[_\bo_\bf_\bf_\bs_\be_\bt][,\b,_\br_\bu_\bl_\be]]
-
-     Where:
-
-         _\bs_\bt_\bd and _\bd_\bs_\bt        Three or more bytes that are the desig-
-                        nation for the standard (_\bs_\bt_\bd) or summer
-                        (_\bd_\bs_\bt) time zone.  Only _\bs_\bt_\bd is required;
-                        if _\bd_\bs_\bt is missing, then summer time does
-                        not apply in this locale.  Upper- and
-                        lowercase letters are explicitly
-                        allowed.  Any characters except a lead-
-                        ing colon (:\b:), digits, comma (,\b,), minus
-                        (-\b-), plus (+\b+), and ASCII NUL are
-                        allowed.
-
-         _\bo_\bf_\bf_\bs_\be_\bt     Indicates the value one must add to the
-                        local time to arrive at Coordinated
-                        Universal Time.  The _\bo_\bf_\bf_\bs_\be_\bt has the
-                        form:
-
-                             _\bh_\bh[:\b:_\bm_\bm[:\b:_\bs_\bs]]
+     _\be_\bx_\bt_\be_\br_\bn _\bc_\bh_\ba_\br _\b*_\bt_\bz_\bn_\ba_\bm_\be_\b[_\b2_\b]_\b;
 
 
-                        The minutes (_\bm_\bm) and seconds (_\bs_\bs) are
-                        optional.  The hour (_\bh_\bh) is required and
-                        may be a single digit.  The _\bo_\bf_\bf_\bs_\be_\bt fol-
-                        lowing _\bs_\bt_\bd is required.  If no _\bo_\bf_\bf_\bs_\be_\bt
-                        follows _\bd_\bs_\bt, summer time is assumed to
-                        be one hour ahead of standard time.  One
-                        or more digits may be used; the value is
-                        always interpreted as a decimal number.
-                        The hour must be between zero and 24,
-                        and the minutes (and seconds) - if
-                        present - between zero and 59.  If pre-
-                        ceded by a ``-\b-'', the time zone shall be
-                        east of the Prime Meridian; otherwise it
-                        shall be west (which may be indicated by
-                        an optional preceding ``+\b+'').
+     _\bc_\bh_\ba_\br _\b*
+     c\bct\bti\bim\bme\be(_\bc_\bo_\bn_\bs_\bt _\bt_\bi_\bm_\be_\b__\bt _\b*_\bc_\bl_\bo_\bc_\bk);
 
 
+     _\bd_\bo_\bu_\bb_\bl_\be
+     d\bdi\bif\bff\bft\bti\bim\bme\be(_\bt_\bi_\bm_\be_\b__\bt _\bt_\bi_\bm_\be_\b1, _\bt_\bi_\bm_\be_\b__\bt _\bt_\bi_\bm_\be_\b0);
 
 
+     _\bc_\bh_\ba_\br _\b*
+     a\bas\bsc\bct\bti\bim\bme\be(_\bc_\bo_\bn_\bs_\bt _\bs_\bt_\br_\bu_\bc_\bt _\bt_\bm _\b*_\bt_\bm);
 
 
+     _\bs_\bt_\br_\bu_\bc_\bt _\bt_\bm _\b*
+     l\blo\boc\bca\bal\blt\bti\bim\bme\be(_\bc_\bo_\bn_\bs_\bt _\bt_\bi_\bm_\be_\b__\bt _\b*_\bc_\bl_\bo_\bc_\bk);
 
 
-Printed 7/27/90               June                             2
+     _\bs_\bt_\br_\bu_\bc_\bt _\bt_\bm _\b*
+     g\bgm\bmt\bti\bim\bme\be(_\bc_\bo_\bn_\bs_\bt _\bt_\bi_\bm_\be_\b__\bt _\b*_\bc_\bl_\bo_\bc_\bk);
 
 
+     _\bt_\bi_\bm_\be_\b__\bt
+     m\bmk\bkt\bti\bim\bme\be(_\bs_\bt_\br_\bu_\bc_\bt _\bt_\bm _\b*_\bt_\bm);
 
 
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     The functions c\bct\bti\bim\bme\be(), g\bgm\bmt\bti\bim\bme\be() and l\blo\boc\bca\bal\blt\bti\bim\bme\be() all take as an argument a
+     time value representing the time in seconds since the Epoch (00:00:00
+     UTC, January 1, 1970; see time(3)).
 
 
+     The function l\blo\boc\bca\bal\blt\bti\bim\bme\be() converts the time value pointed at by _\bc_\bl_\bo_\bc_\bk, and
+     returns a pointer to a ``_\bs_\bt_\br_\bu_\bc_\bt _\bt_\bm'' (described below) which contains the
+     broken-out time information for the value after adjusting for the current
+     time zone (and any other factors such as Daylight Saving Time).  Time
+     zone adjustments are performed as specified by the TZ environmental vari-
+     able (see tzset(3)).  The function l\blo\boc\bca\bal\blt\bti\bim\bme\be() uses tzset to initialize
+     time conversion information if tzset has not already been called by the
+     process.
 
 
+     After filling in the tm structure, l\blo\boc\bca\bal\blt\bti\bim\bme\be() sets the _\bt_\bm_\b__\bi_\bs_\bd_\bs_\bt'th ele-
+     ment of _\bt_\bz_\bn_\ba_\bm_\be to a pointer to an ASCII string that's the time zone ab-
+     breviation to be used with l\blo\boc\bca\bal\blt\bti\bim\bme\be()'s return value.
 
 
+     The function g\bgm\bmt\bti\bim\bme\be() similarly converts the time value, but without any
+     time zone adjustment, and returns a pointer to a tm structure (described
+     below).
 
 
-CTIME(3)                     1990                       CTIME(3)
-
-
-
-         _\br_\bu_\bl_\be           Indicates when to change to and back
-                        from summer time.  The _\br_\bu_\bl_\be has the
-                        form:
-
-                             _\bd_\ba_\bt_\be/\b/_\bt_\bi_\bm_\be,\b,_\bd_\ba_\bt_\be/\b/_\bt_\bi_\bm_\be
-
-                        where the first _\bd_\ba_\bt_\be describes when the
-                        change from standard to summer time
-                        occurs and the second _\bd_\ba_\bt_\be describes
-                        when the change back happens.  Each _\bt_\bi_\bm_\be
-                        field describes when, in current local
-                        time, the change to the other time is
-                        made.
-
-                        The format of _\bd_\ba_\bt_\be is one of the follow-
-                        ing:
-
-                        J\bJ_\bn    The Julian day _\bn
-                                  (1 <\b_ _\bn <\b_ 365).  Leap days are
-                                  not counted; that is, in all
-                                  years - including leap years -
-                                  February 28 is day 59 and
-                                  March 1 is day 60.  It is
-                                  impossible to explicitly refer
-                                  to the occasional February 29.
-
-                        _\bn       The zero-based Julian day
-                                  (0 <\b_ _\bn <\b_ 365).  Leap days are
-                                  counted, and it is possible to
-                                  refer to February 29.
-
-                        M\bM_\bm.\b._\bn.\b._\bd    The _\bd'th day (0 <\b_ _\bd <\b_ 6) of
-                                  week _\bn of month _\bm of the year
-                                  (1 <\b_ _\bn <\b_ 5, 1 <\b_ _\bm <\b_ 12, where
-                                  week 5 means ``the last _\bd day
-                                  in month _\bm'' which may occur
-                                  in either the fourth or the
-                                  fifth week).  Week 1 is the
-                                  first week in which the _\bd'th
-                                  day occurs.  Day zero is Sun-
-                                  day.
-
-                        The _\bt_\bi_\bm_\be has the same format as _\bo_\bf_\bf_\bs_\be_\bt
-                        except that no leading sign (``-\b-'' or
-                        ``+\b+'') is allowed.  The default, if _\bt_\bi_\bm_\be
-                        is not given, is 0\b02\b2:\b:0\b00\b0:\b:0\b00\b0.
-
-     If no _\br_\bu_\bl_\be is present in T\bTZ\bZ, the rules specified by the
-     _\bt_\bz_\bf_\bi_\bl_\be(5)-format file p\bpo\bos\bsi\bix\bxr\bru\bul\ble\bes\bs in the system time conver-
-     sion information directory are used, with the standard and
-     summer time offsets from UTC replaced by those specified by
-     the _\bo_\bf_\bf_\bs_\be_\bt values in T\bTZ\bZ.
-
-
-
-Printed 7/27/90               June                             3
-
-
-
-
-
-
-CTIME(3)                     1990                       CTIME(3)
-
-
-
-     For compatibility with System V Release 3.1, a semicolon (;\b;)
-     may be used to separate the _\br_\bu_\bl_\be from the rest of the
-     specification.
-
-     If the T\bTZ\bZ environment variable does not specify a
-     _\bt_\bz_\bf_\bi_\bl_\be(5)-format and cannot be interpreted as a direct
-     specification, UTC is used.
+     The c\bct\bti\bim\bme\be() function adjusts the time value for the current time zone in
+     the same manner as l\blo\boc\bca\bal\blt\bti\bim\bme\be(), and returns a pointer to a 26-character
+     string of the form:
 
 
-     _\bT_\bz_\bs_\be_\bt_\bw_\ba_\bl_\bl sets things up so that _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be returns the best
-     available approximation of local wall clock time.
+           Thu Nov 24 18:22:48 1986\n\0
 
 
-     _\bC_\bt_\bi_\bm_\be converts a long integer, pointed to by _\bc_\bl_\bo_\bc_\bk,
-     representing the time in seconds since 00:00:00 UTC, January
-     1, 1970, and returns a pointer to a 26-character string of
-     the form
-                    Thu Nov 24 18:22:48 1986\n\0
      All the fields have constant width.
 
      All the fields have constant width.
 
-     _\bL_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be and _\bg_\bm_\bt_\bi_\bm_\be return pointers to ``tm'' structures,
-     described below.  _\bL_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be corrects for the time zone and
-     any time zone adjustments (such as Daylight Saving Time in
-     the U.S.A.).  Before doing so, _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be calls _\bt_\bz_\bs_\be_\bt (if
-     _\bt_\bz_\bs_\be_\bt has not been called in the current process).  After
-     filling in the ``tm'' structure, _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be sets the
-     t\btm\bm_\b_i\bis\bsd\bds\bst\bt'th element of t\btz\bzn\bna\bam\bme\be to a pointer to an ASCII
-     string that's the time zone abbreviation to be used with
-     _\bl_\bo_\bc_\ba_\bl_\bt_\bi_\bm_\be's return value.
-
-     _\bG_\bm_\bt_\bi_\bm_\be converts to Coordinated Universal Time.
-
-     _\bA_\bs_\bc_\bt_\bi_\bm_\be converts a time value contained in a ``tm'' struc-
-     ture to a 26-character string, as shown in the above exam-
-     ple, and returns a pointer to the string.
-
-     _\bM_\bk_\bt_\bi_\bm_\be converts the broken-down time, expressed as local
-     time, in the structure pointed to by _\bt_\bm into a calendar time
-     value with the same encoding as that of the values returned
-     by the _\bt_\bi_\bm_\be function.  The original values of the t\btm\bm_\b_w\bwd\bda\bay\by
-     and t\btm\bm_\b_y\byd\bda\bay\by components of the structure are ignored, and the
-     original values of the other components are not restricted
-     to their normal ranges.  (A positive or zero value for
-     t\btm\bm_\b_i\bis\bsd\bds\bst\bt causes _\bm_\bk_\bt_\bi_\bm_\be to presume initially that summer time
-     (for example, Daylight Saving Time in the U.S.A.) respec-
-     tively, is or is not in effect for the specified time.  A
-     negative value for t\btm\bm_\b_i\bis\bsd\bds\bst\bt causes the _\bm_\bk_\bt_\bi_\bm_\be function to
-     attempt to divine whether summer time is in effect for the
-     specified time.) On successful completion, the values of the
-     t\btm\bm_\b_w\bwd\bda\bay\by and t\btm\bm_\b_y\byd\bda\bay\by components of the structure are set
-     appropriately, and the other components are set to represent
-     the specified calendar time, but with their values forced to
-     their normal ranges; the final value of t\btm\bm_\b_m\bmd\bda\bay\by is not set
-     until t\btm\bm_\b_m\bmo\bon\bn and t\btm\bm_\b_y\bye\bea\bar\br are determined.  _\bM_\bk_\bt_\bi_\bm_\be returns the
-
-
-
-Printed 7/27/90               June                             4
-
-
-
-
-
-
-CTIME(3)                     1990                       CTIME(3)
-
-
-
-     specified calendar time; If the calendar time cannot be
-     represented, it returns -\b-1\b1.
-
-     _\bD_\bi_\bf_\bf_\bt_\bi_\bm_\be returns the difference between two calendar times,
-     _\bt_\bi_\bm_\be_\b1 - _\bt_\bi_\bm_\be_\b0, expressed in seconds.
-
-     Declarations of all the functions and externals, and the
-     ``tm'' structure, are in the <\b<t\bti\bim\bme\be.\b.h\bh>\b> header file.  The
-     structure (of type) s\bst\btr\bru\buc\bct\bt t\btm\bm includes the following fields:
-
-              int tm_sec;      /* seconds (0 - 60) */
-              int tm_min;      /* minutes (0 - 59) */
-              int tm_hour;     /* hours (0 - 23) */
-              int tm_mday;     /* day of month (1 - 31) */
-              int tm_mon;      /* month of year (0 - 11) */
-              int tm_year;     /* year - 1900 */
-              int tm_wday;     /* day of week (Sunday = 0) */
-              int tm_yday;     /* day of year (0 - 365) */
-              int tm_isdst;    /* is summer time in effect? */
-              char *tm_zone;   /* abbreviation of timezone name */
-              long tm_gmtoff;  /* offset from UTC in seconds */
-
-     The _\bt_\bm__\bz_\bo_\bn_\be and _\bt_\bm__\bg_\bm_\bt_\bo_\bf_\bf fields exist, and are filled in,
-     only if arrangements to do so were made when the library
-     containing these functions was created.  There is no guaran-
-     tee that these fields will continue to exist in this form in
-     future releases of this code.
-
-     _\bT_\bm__\bi_\bs_\bd_\bs_\bt is non-zero if summer time is in effect.
-
-     _\bT_\bm__\bg_\bm_\bt_\bo_\bf_\bf is the offset (in seconds) of the time represented
-     from UTC, with positive values indicating east of the Prime
-     Meridian.
-
-F\bFI\bIL\bLE\bES\bS
-     /usr/share/zoneinfo            time zone information direc-
-     tory
-     /usr/share/zoneinfo/localtime   local time zone file
-     /usr/share/zoneinfo/posixrules  used in converting POSIX-
-     style TZ's
-     /usr/share/zoneinfo/GMT        for UTC leap seconds
-
-     If /_\bu_\bs_\br/_\bs_\bh_\ba_\br_\be/_\bz_\bo_\bn_\be_\bi_\bn_\bf_\bo/_\bG_\bM_\bT is absent, UTC leap seconds are
-     loaded from /_\bu_\bs_\br/_\bs_\bh_\ba_\br_\be/_\bz_\bo_\bn_\be_\bi_\bn_\bf_\bo/_\bp_\bo_\bs_\bi_\bx_\br_\bu_\bl_\be_\bs.
+     The a\bas\bsc\bct\bti\bim\bme\be() function converts the broken down time in the structure _\bt_\bm
+     pointed at by _\b*_\bt_\bm to the form shown in the example above.
+
+     The function m\bmk\bkt\bti\bim\bme\be() converts the broken-down time, expressed as local
+     time, in the structure pointed to by tm into a time value with the same
+     encoding as that of the values returned by the time(3) function, that is,
+     seconds from the Epoch, UTC.
+
+     The original values of the _\bt_\bm_\b__\bw_\bd_\ba_\by and _\bt_\bm_\b__\by_\bd_\ba_\by components of the struc-
+     ture are ignored, and the original values of the other components are not
+     restricted to their normal ranges.  (A positive or zero value for
+     _\bt_\bm_\b__\bi_\bs_\bd_\bs_\bt causes m\bmk\bkt\bti\bim\bme\be() to presume initially that summer time (for exam-
+     ple, Daylight Saving Time) is or is not in effect for the specified time,
+     respectively.  A negative value for _\bt_\bm_\b__\bi_\bs_\bd_\bs_\bt causes the m\bmk\bkt\bti\bim\bme\be() function
+     to attempt to divine whether summer time is in effect for the specified
+     time.)
+
+     On successful completion, the values of the _\bt_\bm_\b__\bw_\bd_\ba_\by and _\bt_\bm_\b__\by_\bd_\ba_\by compo-
+     nents of the structure are set appropriately, and the other components
+     are set to represent the specified calendar time, but with their values
+     forced to their normal ranges; the final value of _\bt_\bm_\b__\bm_\bd_\ba_\by is not set un-
+     til _\bt_\bm_\b__\bm_\bo_\bn and _\bt_\bm_\b__\by_\be_\ba_\br are determined.  M\bMk\bkt\bti\bim\bme\be() returns the specified
+     calendar time; if the calendar time cannot be represented, it returns -1;
+
+     The d\bdi\bif\bff\bft\bti\bim\bme\be() function returns the difference between two calendar
+     times, (_\bt_\bi_\bm_\be_\b1 - _\bt_\bi_\bm_\be_\b0), expressed in seconds.
+
+     External declarations as well as the tm structure definition are in the
+     <_\bt_\bi_\bm_\be_\b._\bh> include file.  The tm structure includes at least the following
+     fields:
+
+           int tm_sec;     /* seconds (0 - 60) */
+           int tm_min;     /* minutes (0 - 59) */
+           int tm_hour;    /* hours (0 - 23) */
+           int tm_mday;    /* day of month (1 - 31) */
+           int tm_mon;     /* month of year (0 - 11) */
+           int tm_year;    /* year - 1900 */
+           int tm_wday;    /* day of week (Sunday = 0) */
+           int tm_yday;    /* day of year (0 - 365) */
+           int tm_isdst;   /* is summer time in effect? */
+           char *tm_zone;  /* abbreviation of timezone name */
+           long tm_gmtoff; /* offset from UTC in seconds */
+
+     The field _\bt_\bm_\b__\bi_\bs_\bd_\bs_\bt is non-zero if summer time is in effect.
+
+     The field _\bt_\bm_\b__\bg_\bm_\bt_\bo_\bf_\bf is the offset (in seconds) of the time represented
+     from UTC, with positive values indicating east of the Prime Meridian.
 
 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
 
 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
-     time(2), getenv(3), tzfile(5)
-
-N\bNO\bOT\bTE\bES\bS
-     The return values point to static data whose content is
-     overwritten by each call. The t\btm\bm_\b_z\bzo\bon\bne\be field of a returned
-     s\bst\btr\bru\buc\bct\bt t\btm\bm points to a static array of characters, which will
-
-
-
-Printed 7/27/90               June                             5
-
-
-
-
-
-
-CTIME(3)                     1990                       CTIME(3)
-
-
-
-     also be overwritten at the next call (and by calls to _\bt_\bz_\bs_\be_\bt
-     or _\bt_\bz_\bs_\be_\bt_\bw_\ba_\bl_\bl).
-
-     Avoid using out-of-range values with _\bm_\bk_\bt_\bi_\bm_\be when setting up
-     lunch with promptness sticklers in Riyadh.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+     date(1),  gettimeofday(2),  getenv(3),  time(3),  tzset(3),  tzfile(5)
 
 
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+     This manual page is derived from the time package contributed to Berkeley
+     by Arthur Olsen and which appeared in 4.3BSD.
 
 
+B\bBU\bUG\bGS\bS
+     Except for d\bdi\bif\bff\bft\bti\bim\bme\be() and m\bmk\bkt\bti\bim\bme\be(), these functions leaves their result
+     in an internal static object and return a pointer to that object. Subse-
+     quent calls to these function will modify the same object.
 
 
-Printed 7/27/90               June                             6
+     The _\bt_\bm_\b__\bz_\bo_\bn_\be field of a returned tm structure points to a static array of
+     characters, which will also be overwritten by any subsequent calls (as
+     well as by subsequent calls to tzset(3) and tzsetwall(3)).
 
 
+     Use of the external variable _\bt_\bz_\bn_\ba_\bm_\be is discouraged; the _\bt_\bm_\b__\bz_\bo_\bn_\be entry in
+     the tm structure is preferred.
 
 
+     Avoid using out-of-range values with m\bmk\bkt\bti\bim\bme\be() when setting up lunch with
+     promptness sticklers in Riyadh.
 
 
+4.3 Berkeley Distribution        June 4, 1993                                2