ray
9ee3d71486
Removes extraneous variables from getopt(3). Inspired by one of
David Hill's diffs.
ok otto
19 years ago
otto
790f0cc439
Avouid a race in atexit() handling by introducing a lock. Problem
originally reported by Gergely Kovacs; help from dhartmei@;
ok tedu@ millert@
19 years ago
espie
8accc3ec6c
quick path for free(0)
`looks to be safe' millert, okay tedu.
19 years ago
jmc
f90681086b
document posixness;
fixes pr #4996 , from joachim schipper;
19 years ago
jakemsr
f7752f35a4
missing auxillary verb
"yes, that is correct." jmc@ (a while back)
19 years ago
jmc
4169f92843
back out previous - imaxabs is already listed;
19 years ago
millert
c1d18b2138
Xr imaxabs()
19 years ago
jmc
47e05126c0
fix the .Fn line; ok millert
19 years ago
jmc
da802fcfbf
sort SEE ALSO;
19 years ago
millert
6388df8cda
Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()
19 years ago
millert
09125d08dd
Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa)
Remove an extraneous check for dtoa returning Inf/Nan
19 years ago
millert
63f4612853
Use localeconv() to get the locale-specific radix char like printf does.
19 years ago
millert
8773a5e4ee
Nan and Infinity can be negative
Decimal point was missing for some exponential output
Only divide sign by 10 once per loop
Add a missing NUL terminator for one case
If there is no whole number portion, print a leading zero (e.g. 0.1 not .1)
19 years ago
millert
482dbff289
Prototypes live in <search.h>
19 years ago
otto
2df5443e38
Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time
and remove fallback code. If somebody is dumb enough to make the
sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls
on process startup.
looks good miod@ ok deraadt@ tedu@
19 years ago
deraadt
01172b9781
spaces, and a off_t typecast to please lint
19 years ago
deraadt
0716b3fa6e
use WANTLINT= (on all architectures)
19 years ago
espie
29075814ed
add $OpenBSD$ tags, as requested by dtucker.
19 years ago
espie
ef549283cb
Activate missing wcswidth, as noted by Alexander Bluhm.
okay deraadt@, otto@
Minor bump (nobody stepped forward with other changes, so let's do this one)
19 years ago
otto
d15483fc30
Remove obsolete comment. ok deraadt@
19 years ago
jmc
5508a474a4
clarifications from ray lai;
tweaked by tedu@ and myself;
19 years ago
jmc
1f434282b0
dont' -> don't in comments;
from ray lai;
19 years ago
deraadt
945e8d4407
library routines should not be checking for NULL pointers passed in,
and then setting errno to EFAULT. that is balony programming! they
should keep stumbling along to purposely create a crash, so that the
programmer stops doing that kind of stupid crap. ok otto
19 years ago
jmc
8800872d53
add uu_lock_txfr to .Nm list;
19 years ago
jaredy
04a4c1a148
tidy up examples
- use err() for error handling
- add lint hints
- spacing nits and missing braces
ok otto
19 years ago
espie
343495e278
fix a few warnings, keep the crypt stuff for later.
okay otto@
19 years ago
espie
2bf3877d2a
Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br>
Thanks.
19 years ago
deraadt
2f5b0c2be9
further knf and cleaning; ok tdeval
19 years ago
deraadt
d189c9f735
first KNF (no binary diffs)
19 years ago
jmc
03965dd357
add bf_{ecb,cbc}_{en,de}crypt to the .Nm list;
19 years ago
jmc
85780cfb06
add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list;
19 years ago
jmc
7732424712
some markup and punctuation fixes from wiz@netbsd
19 years ago
jmc
a9d96fd9bd
spelling: you missed this one david ;)
19 years ago
jmc
037169a3ac
uncomment setlocale(3) entry;
19 years ago
espie
b4fb9e2f94
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
19 years ago
espie
894a3cd7e9
activate LC_CTYPE for 8 bits locale.
Make sure tolower/toupper use the whole 8 bits.
okay deraadt@
thanks to everyone who tested
19 years ago
jmc
1cb33adee1
move non-standard COMPATIBILITY section to HISTORY, which seems more
relevant anyway;
ok jaredy@
19 years ago
deraadt
44b2ae4c3a
tell people that atexit is bad; ok jmc
19 years ago
jaredy
0282ec9c24
add HISTORY; ok jmc
19 years ago
jaredy
1f6f803468
- macro, punctuation, and rewording tweaks
- avoid first person.
ok jmc
19 years ago
jaredy
2ac9e2be87
sync function prototypes to reality; ok jmc
19 years ago
espie
94a41f5c11
scrape $Id$ tags.
okay deraadt@, millert@, krw@
19 years ago
jmc
48da60bb34
O_EXLOCK stuff was introduced in June 1997, and backed out again in
November of that year; however, the corresponding man changes were
never backed out.
do that now, reversing -r1.3 of this file;
original pr and diff from peter philipp (this commit closes pr #4309 );
i chose to revert -r1.3 rather than accept the new wording from peter;
thanks jaredy@ for tracking all this down, and supplying the ok...
19 years ago
jmc
8e5ce97e5d
kill errant blank line;
19 years ago
jaredy
eb2659255c
- typos, punctuation, layout, macro tweaks
- break long lines
ok jmc
19 years ago
jaredy
a8bc8f0749
- typos, grammar, punctuation, layout tweaks
- use `$' for command prompts
- clean up: use a bullet list instead of adding junk to denote list
items
ok jmc
19 years ago
jaredy
fcfe8543e4
provide a description of the EXAMPLE; ok jmc
19 years ago
jaredy
0e45f07325
note when these first appeared; ok jmc
19 years ago
jaredy
9598fd3fc1
punctuation and minor rewording, ok jmc
19 years ago
jmc
055936f356
kill errant full stop;
19 years ago