wiz
a7f335fd25
mdoc'ify
2001-09-16 18:02:44 +00:00
wiz
4405028509
mdoc'ify
2001-09-16 16:53:45 +00:00
wiz
8904bab14d
Sort SEE ALSO.
2001-09-16 01:35:53 +00:00
atatat
90de954410
If the TZ environment variable was set to the empty string, a call to
...
ctime() would get a bus error (or a segmentation fault). Setting these
variables eliminates that problem.
Fixes pr lib/12750.
2001-04-27 14:21:15 +00:00
kleink
7be2be4b36
No need for <sys/types.h>.
2001-04-07 16:14:44 +00:00
kleink
d8fe668b8f
Add a LIBRARY section.
2001-04-07 16:13:32 +00:00
wiz
2c7d48475b
mdoc'ify. With a tip of the hat to kleink.
2001-04-02 21:26:21 +00:00
wiz
b37c366b3f
Improve some markup.
2001-04-02 20:49:57 +00:00
wiz
3a3aafcf17
Fix format typo, and whitespace.
2001-04-02 20:48:38 +00:00
kleink
cd11a7a9fa
Add a daylight(3) link as well. XXX Can't link to timezone(3) yet.
2001-03-31 19:00:56 +00:00
kleink
9b04b6e1a5
Oops, missed type change in previous.
2001-03-31 18:45:38 +00:00
kleink
a495a577a0
Finally deprecate the old timezone() interface in favor of an XSH5
...
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
2001-03-31 18:29:20 +00:00
kleink
b1cc53ab31
While I'm here, add a LIBRARY section.
...
XXX Someone should lift this to our mdoc.
2001-03-29 20:56:30 +00:00
kleink
49cc52fbf7
Declaration syntax nit.
2001-03-29 20:54:06 +00:00
kleink
8ca649a389
Sprinkle some restrict.
2001-03-29 19:06:39 +00:00
jdolecek
90a4ab0deb
add forgotten argument name to actime_r() prototype
2001-01-25 20:55:51 +00:00
cgd
9ac9838b47
#undef, not #undefine.
2001-01-16 02:38:17 +00:00
christos
52b46a0f13
fix u_char -> char and char -> u_char casts.
2000-12-20 20:56:34 +00:00
cgd
b2b63ed4f4
Newer GCCs give warnings when the result of preprocessor token pasting
...
is not itself a valid (single) preprocessor token. In other words, don't
use __CONCAT() to add a structure member name to a pointer dereference.
2000-12-19 22:20:48 +00:00
kleink
64b3c7fc9d
Reflect current situation: we're using the tzcode-maintained strftime now.
2000-12-12 15:36:49 +00:00
kleink
12f15ca014
Merge strftime from tzcode2000g.
2000-12-12 15:35:31 +00:00
kleink
b883dd18d1
Merge tzcode2000g.
2000-12-12 15:25:41 +00:00
kleink
8e2eabaa3d
Import tzcode2000g.
2000-12-12 15:21:09 +00:00
christos
94a9754eeb
#ifdef out duplicate declaration for unlink.
2000-12-10 03:56:31 +00:00
is
f518246fc1
Format string cleanup, by Bill Sommerfeld.
2000-10-10 18:09:25 +00:00
msaitoh
f9b799b651
check LIBC_SCCS
2000-09-13 22:32:25 +00:00
taca
413b89b272
- Fix strftime(3) not to ignore tm_zone filed of last parameter,
...
and "%Z" in format string is converted as proper time zone.
This was taken from tzcode2000f. Fix PR lib/10950.
2000-09-07 12:45:03 +00:00
hubertf
4b1e8fc34a
make usage fit into 80 columns
2000-08-02 15:17:20 +00:00
kleink
87699890a9
* Use standard interval notation for struct tm members.
...
* Document tm_isdst as DST flag, not summer time.
2000-07-10 12:39:39 +00:00
itohy
7daefc5a5a
Passing "char" values to ctype(3) functions is problematic.
...
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
kleink
b5b9011dbf
Note that localtime_r() does not imply tzset(); inspired by a conversation
...
with Hal Murray in the trail of PR lib/10282.
2000-07-06 16:19:15 +00:00
hubertf
7570e9053d
Improve description for tm_year and some other fields.
...
May prevent PRs like 10521 in the future.
2000-07-06 12:44:31 +00:00
kleink
0c86310df7
Pasto in previous.
2000-06-05 12:01:47 +00:00
kleink
b72e2b11b8
Move orphaned information to tzset(3).
2000-06-05 11:56:13 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
kleink
cc34c654dc
Add the C99 %F conversion.
2000-01-15 16:59:05 +00:00
kleink
e092d92063
Merge tzcode1999i.
1999-11-16 22:41:02 +00:00
kleink
ae7e338dbb
Merge tzcode1999h.
1999-11-10 20:32:30 +00:00
erh
20678a0621
PR 5057 - fix %k to print a 0, not just spaces. (%e too). Patch from NAKAJIMA Yoshihiro.
1999-11-05 19:21:12 +00:00
kleink
76c34aa87f
Add documentation for asctime_r(), ctime_r(), gmtime_r() and localtime_r().
1999-05-04 15:34:50 +00:00
tv
d6b5fedecb
Use correct number of digits as described in lib/7001. This brings us
...
pretty close to UNIX98, but %U and %W still don't work.
1999-04-29 02:58:30 +00:00
kleink
317455d895
Merge tzcode1999b.
1999-02-08 18:00:19 +00:00
augustss
32482e1058
Compute week number right. Fixes PR 6961, from
...
Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
1999-02-07 17:33:30 +00:00
sommerfe
322be18c08
Fix pr6517: strftime %s returns unterminated string
1998-12-01 16:07:11 +00:00
christos
f4c1479174
delint
1998-11-15 17:10:30 +00:00
kleink
d898f65fdd
Need an internal name for tzname.
1998-10-16 12:56:44 +00:00
kleink
b0d97e66b2
Oops, also needs "namespace.h".
1998-10-08 12:18:18 +00:00
kleink
eaf4c8b985
Converts an extracted tzcode distribution into the format suitable for
...
importing it into the NetBSD source tree.
1998-10-05 19:44:53 +00:00
kleink
be296d891c
Merge tzcode1998h.
1998-10-04 19:27:55 +00:00
kleink
4761eb87c0
Frob internal state keeping to make strftime() reentrant.
1998-09-27 16:41:20 +00:00