wiz
6569c5c509
New sentence, new line. From Robert Elz.
2002-10-01 17:22:00 +00:00
thorpej
922525072e
Allow mktemp to be built as a host tool.
2002-09-14 04:26:23 +00:00
wiz
3f9c36b9de
Drop superfluous Ns and fix a formatting glitch.
2002-08-20 16:10:01 +00:00
yamt
e7d9fe95ae
- add description of the race.
...
- fix typo.
from OpenBSD.
2002-08-10 16:34:29 +00:00
yamt
dccfe06f50
use more Xs for filename templates.
...
from OpenBSD.
2002-08-10 16:28:51 +00:00
yamt
04adc81fbf
if the path is directory, remove(3) behaves as rmdir instead of unlink.
...
from OpenBSD.
2002-08-10 09:42:23 +00:00
yamt
5d8e52e7ab
bring in EXAMPLES and BUGS from openbsd.
2002-08-10 09:32:19 +00:00
mjl
a32f58ffa9
Correct wrong comparison in example.
2002-07-21 19:04:03 +00:00
yamt
673cbedc13
import CAVEATS sections from OpenBSD.
...
with little tweak by me.
2002-07-10 14:37:12 +00:00
wiz
53f8a68c5f
Add Xr to fileno(3).
2002-06-12 09:21:40 +00:00
wiz
3fb28eec1f
__STDC__ is always defined on NetBSD.
2002-05-26 14:43:59 +00:00
thorpej
42320e8223
* Move the prototype of __svfscanf from <stdio.h> to libc/stdio/local.h.
...
* Add prototype for vfscanf to <stdio.h>.
* Remove #define of vfscanf to __svfscanf from <stdio.h>.
* Include local.h in libc files which need __svfscanf.
* Add vfscanf weak alias to __svfscanf.
Fixes standards/16997.
NOTE: libc minor not bumped -- ride on the bump to 12.84 made by
itojun today.
2002-05-24 22:17:20 +00:00
kleink
eedae55de3
Consistent wording: plain files -> regular files.
2002-05-15 07:00:22 +00:00
bjh21
c9e4965681
Revert addition of mkdtemp() to libnbcompat. I don't think we need mktemp(1)
...
after all.
2002-04-01 13:59:34 +00:00
bjh21
58017a564d
Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will
...
need it.
2002-03-31 18:04:11 +00:00
yamt
ffca92c5a2
putwc and putwchar's argument is wchar_t, not wint_t.
2002-03-14 21:21:00 +00:00
christos
9588aa8fef
fully initialize the structure to avoid gcc complaints.
2002-03-12 22:56:16 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
wiz
38462ff661
Punctuation nit, and slight grammar improvement.
2002-02-02 10:50:52 +00:00
yamt
ec88065e0f
note that our fsetpos/fgetpos don't know about stream's state.
...
it's a bug since we now have stateful encodings like iso2022 and
wide char functions like fgetwc.
2002-02-02 08:56:53 +00:00
kleink
222fdd84c8
One pasto, one typo.
2002-01-21 11:54:15 +00:00
wiz
1f01816d38
Avoid Po/Pq.
2001-12-07 12:36:40 +00:00
wiz
69486f2d3a
Slight grammar improvement.
2001-12-07 12:36:11 +00:00
wiz
881a6c7de6
Markup getwc in one place.
2001-12-07 12:35:54 +00:00
wiz
aa5abf3731
Grammar improvements, some additional markup and a typo fix.
2001-12-07 12:35:13 +00:00
yamt
fa787c7eba
g/c #if 0.
2001-12-07 12:18:53 +00:00
yamt
a510b02e77
add files forgotten in my previous commit.
2001-12-07 12:02:07 +00:00
yamt
17f3654a64
- make FILE structure extensible without breaking binary-compatibility.
...
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.
2001-12-07 11:47:40 +00:00
kleink
2a6842fe56
C99: Recognize %F here, too.
2001-12-02 20:53:49 +00:00
kleink
f2c0cf9cec
Fix a mis-pasting in previous; pointed out by Thomas Klausner.
2001-12-02 20:41:12 +00:00
kleink
dcf4ce2588
C99:
...
* Recognize %F.
* Convert {Infinity,NaN} to {"inf","nan"} for %[efg], and to
{"INF","NAN"} for %[EFG].
2001-12-02 20:12:03 +00:00
kleink
80f30d4de0
Since we're returned the sign of a floating-point number by __dtoa(),
...
use that to decide whether to include a minus sign in the result.
Fixes printing -0.0, and thus PR lib/3137.
2001-11-28 11:58:22 +00:00
augustss
0d3aa2aa07
Ugh, back out last commit. It makes vfprintf depend on -lm.
2001-11-27 18:05:30 +00:00
augustss
a928006fbb
Print sign of -0.0 correctly. Fixes PR 3137 (mine).
2001-11-27 18:00:55 +00:00
lukem
50f5afd52e
fix WARNS=2 (-Wshadow) warnings
2001-11-04 13:57:29 +00:00
kleink
aea3dece2d
Drop a VAX/Tahoe reference (the VAX case wasn't true with the current compiler
...
either).
2001-10-17 13:27:15 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz
71bd158b54
Mainly sort SEE ALSO, but also sort sections, and some punctuation and
...
paragraph fixes.
2001-09-16 02:17:15 +00:00
wiz
72b9df9677
Boring whitespace fixes.
2001-09-16 02:08:55 +00:00
abs
185d31ea9e
Do not xref pc(1)
2001-07-06 18:15:36 +00:00
aymeric
58237d3d65
Draw attention to the fact that the created file/dir may not be readable
...
or writable due to a weird umask.
2001-06-22 20:09:05 +00:00
christos
096152524b
casts to size_t
2001-06-21 21:17:10 +00:00
kleink
a251b29d5a
Clarify C standards situation a bit.
2001-04-30 08:47:59 +00:00
kleink
fe3c9ceaf7
* Move definitions of exact-width integer types from <machine/types.h>
...
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
2001-04-28 15:41:28 +00:00
kleink
568e812267
Fix an ... interesting pasto in the description of the l length modifier
...
that's been here forever.
2001-04-26 19:25:12 +00:00
kleink
6213f73707
Document getc_unlocked(3), getchar_unlocked(3), putc_unlocked(3) and
...
putchar_unlocked(3); fixes PR lib/11340.
2001-04-25 22:06:53 +00:00
kleink
3432ed7203
Need an internal name for asprintf(3).
2001-04-13 14:18:09 +00:00
jhawk
404ef082e4
Xr printf(9)
2001-04-03 13:59:22 +00:00
lukem
fa11ebb133
apparently ansi c only required fread(3) to return 0 if size or nmembs == 0.
...
however, susv2 adds the same to fwrite(3), so add the explicit check.
document this for both fread & fwrite. move diagassert for buf!=NULL to after
the (size * nmembs) == 0 check.
this has the helpful side effect of preventing the _DIAGASSERT()ion in
fwrite() being triggered by lots of 3rdparty code that calls fwrite() with
buf=NULL count=0
2001-01-25 02:06:25 +00:00
itojun
bb0bfe5b30
initialize mbstate_t properly.
2000-12-30 04:13:25 +00:00