joda
77dec036c1
don't claim that options are illegal, cf lib/12715
2001-04-24 09:07:43 +00:00
cgd
e8c9c330a8
document EXIT_SUCCESS and EXIT_FAILURE, since they've been around
...
since ANSI and (for portability, since ANSI) in some circles they're
the preferred exit status codes.
2001-03-22 01:37:46 +00:00
kleink
77fbd9fe1c
Sprinkle some restrict qualifiers.
2001-03-21 22:42:28 +00:00
fair
0b6f011535
Add documentation of nmemb parameter, per PR 10567
2001-03-16 07:47:29 +00:00
bjh21
fe6fa58436
Add support for ARM VFP-format doubles, conditional on __VFP_FP__.
2001-02-21 18:09:25 +00:00
lukem
2e118c9dce
fix _DIAGASSERT usage in hsearch()
2001-02-21 16:31:01 +00:00
cgd
0fd3d5e599
nuke a ref to __progname that somehow crept in
2001-02-19 22:43:21 +00:00
cgd
6b25d77513
convert from __progname to getprogname()
2001-02-19 22:22:16 +00:00
ross
687259968d
LP64
2001-02-19 21:26:04 +00:00
msaitoh
36db62c9dc
add hcreate.3
2001-02-16 12:25:09 +00:00
cgd
d563d62f6c
update for current status of implementation
2001-02-14 05:59:56 +00:00
cgd
579369d368
build new hsearch() code
2001-02-14 05:44:29 +00:00
cgd
51a7af156e
add new, from scratch implementation of hsearch() et al that actually works
2001-02-14 05:41:25 +00:00
cgd
66678fd1bb
move db/man/hcreate.3 to stdlib/hcreate.3
2001-02-14 05:41:01 +00:00
cgd
e76f9e3425
don't extern char *__progname; it's never used!
2001-02-12 23:59:17 +00:00
bjh21
b2ffea9b75
__arm26__ || __arm32__ -> __arm__
...
Not least because the unified NetBSD/arm compiler probably won't predefine
__arm26__ or __arm32__.
2001-02-09 18:38:32 +00:00
jdolecek
ae76c71d75
slighly clarify how endbyte is used, so that this matches implementation more closely
2001-01-12 19:23:11 +00:00
lukem
b8d674b457
link sradixsort(3) -> radixsort(3)
2001-01-08 14:06:09 +00:00
jdolecek
75ee9a37dd
we now have utrace, support it here
2001-01-05 22:29:28 +00:00
lukem
c5b9e1cef5
sprinkle _DIAGASSERT() around
2001-01-04 03:35:29 +00:00
itojun
408f4697a6
first import of citrus LC_CTYPE locale. singlebyte only at this moment.
...
shot-term TODO:
- enable multibyte locales. this includes loadable locale modules
(#ifdef DLRUNE).
- populate LC_CTYPE definition files.
- other functions such as iconv()
- make libc functions more friendly with multibyte.
- multilingualize other LC_xx
- torture tests
XXX don't forget to "make depend" when you rebuild libc, multibyte.c is
moved from lib/libc/stdlib to lib/libc/locale.
2000-12-21 11:29:47 +00:00
christos
bebeeecd5b
fix sbrk casts
2000-12-20 20:56:01 +00:00
christos
6bae1e9ae7
avoid nested extern declaration
2000-12-20 18:38:30 +00:00
christos
b8e7598d98
fix nested extern
2000-12-20 15:59:51 +00:00
christos
ee5e1d12cf
fix nested extern declaration.
2000-12-19 21:17:37 +00:00
garbled
41f8bfbc99
Radixsort wants a const u_char ** as a fisrt argument, not just a
...
u_char **. Fix this manpage.
2000-12-13 22:11:24 +00:00
wiz
e7775dbf9e
Be SUS-conformant regarding return value when option argument is missing.
...
Handle "-" correctly.
2000-11-26 23:39:11 +00:00
wiz
7af3cfc292
Reorder sections to conform more to mdoc.samples; remove non-mdoc
...
section header; fix two typos.
2000-11-26 22:35:53 +00:00
itojun
8f6dee4c39
make random(3) manpage meet with actual implementation.
...
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.
2000-10-05 06:21:53 +00:00
thorpej
a3fe3d3cf9
Some (popular) programs expect to be able to re-initialize `optind'
...
to 0 and have getopt(3)/getopt_long(3) continue to function properly.
This happens to work with GNU getopt_long(3), so mimmick the behavior.
Fixes pkg/10980 (Manuel Bouyer): rsyncd was relying on this behavior.
2000-08-25 17:05:49 +00:00
sommerfeld
ac7a8f6bc2
Correct format mismatch for field widths
2000-07-08 14:58:43 +00:00
christos
6b283a58bd
avoid losing precision warnings
2000-07-06 03:13:22 +00:00
msaitoh
f6f00e2615
remove extra period in SEE ALL section
2000-07-05 15:45:28 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
nathanw
045f0427b1
Don't segfault when complaining about an invalid single-character option.
...
When complaining about a long option which requires an argument,
print the actual option, not some pointer-garbage.
(Hint: "%c" and "%s" are different.)
2000-06-09 21:35:53 +00:00
simonb
ecce47356a
Disable malloc's hints to the kernel - now that the madvise() syscall
...
actually does something, this can be expensive. From discussion on
current-users.
Note that the man page is already correct - we imported malloc.c from
FreeBSD before they made the same change but malloc.3 after...
2000-05-20 15:13:31 +00:00
is
20b532d4ea
Workaround no longer needed, now that the compiler is fixed.
2000-05-16 22:07:30 +00:00
bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00
is
2ced82ab8e
Add the (void)&acc; hack from strtouq.c to strtoull.c. This works around
...
an arm32 compiler bug. Change the comment in strtouq.c to reflect the current
usage of the hack.
2000-05-02 12:39:03 +00:00
enami
d76da5f70c
Fix the bug introduced in rev 1.28 and actually caused failure on alpha;
...
In the function malloc_make_chunks, don't define the local variable ``l'',
which is used to hold the actual size of pginfo, as size_t. Define it as
a signed integer as before. We expect it to become zero or negative value,
and we know that it is much smaller than pagesize and it is small enough to
fit in signed interger.
2000-04-07 15:15:08 +00:00
enami
07fd543922
Backout the previous backing out.
2000-04-07 14:56:13 +00:00
wiz
3492cfdd4b
small fixes; not yet complete
2000-04-07 00:02:32 +00:00
christos
6d34da153c
Add "namespace.h" and include <getopt.h> since we moved the stuff out
...
of <unistd.h>
2000-04-02 22:04:06 +00:00
christos
bfb2439e73
Remove sections relevant to getopt, and add implementation differences.
2000-04-02 20:30:07 +00:00
christos
6dfafca13a
New getopt_long from Thomas Klausner and Dieter Baron
2000-04-02 20:27:58 +00:00
erh
5aef3fa29b
Make mbstowcs and wcstombs work correctly when handed NULL pointers.
2000-04-01 19:42:57 +00:00
enami
c09a75571b
Add missing comma.
2000-03-16 04:57:11 +00:00
kleink
c2ee7198c1
Need to quote excessively long Nd argument.
2000-03-15 20:53:57 +00:00
kleink
31f60ab101
No longer need internal names for strtoq() and strtouq().
2000-03-08 20:17:19 +00:00
kleink
4c3c49ae8b
Make lint happy about long long integers. (C99 mode for lint, anyone?)
2000-03-07 20:02:00 +00:00