tholo
8ee696da40
Minor formatting fixes from Lite2
Correct return value of putenv(3), also from Lite2
28 years ago
tholo
c1faa6782f
Fix typo; from Lite2
28 years ago
tholo
7d47b038f8
Formatting fix; from Lite2
28 years ago
tholo
25f5863bbe
Import malloc(3) manual page from FreeBSD
28 years ago
deraadt
2240f00ab9
pty from p to z, P to T. includes v
28 years ago
downsj
e2b88b4e8d
Document where the prototypes are.
28 years ago
tholo
63aa099bc1
malloc(3) implementation from FreeBSD; uses mmap(2) to get memory
28 years ago
deraadt
1be84dab0b
duh, theo
28 years ago
deraadt
6426383b23
someone want to write login_fbtab.3?
28 years ago
deraadt
aca561bb49
login_fbtab() in libutil
28 years ago
niklas
1ecc000066
Make typesafe and remove non-portable va_list tricks.
This is to get it to compile on OpenBSD/alpha.
28 years ago
deraadt
2b50cf23b0
be very careful in case of signed chars
28 years ago
deraadt
f8876ea645
cannot check for stack underflow
28 years ago
deraadt
151d8112cc
for magic MD5 salt, call md5crypt()
28 years ago
deraadt
0fd8b9613b
pretty the comment
28 years ago
downsj
a71e9c181d
Use getrawpartition().
28 years ago
deraadt
17fdcd3488
fix multiple invocations; from tlb@viaweb.com
28 years ago
deraadt
343aaa30a5
only write to realpath if non-NULL
28 years ago
deraadt
a34e8e5c6d
do not unexpectedly unlink the ptmp file; also support SIG*STOP cleanly
with our changes which permit "EDITOR=emacs -nw" to work.
28 years ago
downsj
375b735121
oops, still missed a typo
28 years ago
downsj
3673fbd261
slight cleaning
28 years ago
downsj
1f11082c42
opendev.3: opendev(3) man page
28 years ago
downsj
b2f1975b66
util.h: new resting place
opendev.h: ok, so I merged it with util.h
opendev.h: use util.h
everything else: use "util.h"
28 years ago
downsj
f8971d632f
Add opendev(3) to libutil. Used by mt(1), soon by disklabel(8), maybe
others. This is a generic version of the code used by mt(1).
28 years ago
deraadt
ce569fce0f
add /sbin/scsi from FreeBSD -- a good start!
28 years ago
deraadt
06e5be1fde
fix %V
28 years ago
deraadt
c153de987d
system() $EDITOR safely
28 years ago
niklas
9d9f1bb154
Add md[245] routines in libc/md, remove md5 from libc/crypt. Add $OpenBSD$
28 years ago
deraadt
2b40270ee5
add md5crypt()
28 years ago
deraadt
a5010d31aa
libutil
29 years ago
deraadt
3cd33e2f7e
document largest possible value; netbsd pr#2338; from banshee@gabriella.resort.com
29 years ago
deraadt
6393fb019e
switch on _KERNEL to load proper include file
29 years ago
tholo
e1dcf2c932
Substantially improve random number generation by using the largest prime
that fits inside 32 bits as the denominator; take care not to overflow.
Regenerate initial seed after replacing the generator
29 years ago
tholo
ac83ba9bc9
Add support for building lint(1) library
29 years ago
tholo
352b163d5e
Cannot do operations on a void pointer
29 years ago
tholo
077935535d
Update prototypes to match declarations
Remove unused variables
Install all man-page links
29 years ago
tholo
6ea1ec00cf
Add prototypes for internal functions
Change inline to __inline
29 years ago
tholo
b1e58002e4
Add prototypes for local functions, add const qualifiers where needed
29 years ago
niklas
b3273638d0
From NetBSD: merge of 960317
29 years ago
niklas
5ece56ae69
From NetBSD: 960217 merge
29 years ago
deraadt
327ae62632
need errno.h because err declerations have moved
29 years ago
deraadt
3085be1941
realloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;
netbsd pr#1806
29 years ago
deraadt
cc1caab09d
typo in strspn manpage; from kashmir@umiacs.umd.edu; netbsd pr#1905
29 years ago
deraadt
cb76300c6c
from netbsd: Fixed %u to expand to a single digit
29 years ago
deraadt
2214b38cd7
from netbsd; Rearrange to avoid sign problems with GCC.
29 years ago
deraadt
cf571e9b70
i believe i took care of the 32bit and alignment issues, so the comment can go away
29 years ago
deraadt
dace47f11c
expose even more internals, for bdes
29 years ago
deraadt
889440ea82
non-USA crypto code by davidb@werj.com.au. The source has been split
& copied into two pieces so that use of crypt() pulls in a crypt.o
that contains only that one programmer interface -- this permits USA
export of binaries that use crypt() for authentication purposes.
morecrypt.c contains the other DES programmer interfaces commonly
used.
29 years ago
deraadt
cb293df3c9
make first arg of strtod/strtoq const
29 years ago
deraadt
7516783ce7
error in system(3) man page from John Kohl
29 years ago