deraadt
32f62cb8b8
another term 3 & 4 from tholo after permission
21 years ago
millert
6014de925d
Use an ISC-tyle license for all my code; it is simpler and more permissive.
21 years ago
millert
679cd5d050
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
jmc
134f7e2634
- section reorder
- clean up .Xr's
21 years ago
millert
20542d1d50
Remove some lies
21 years ago
millert
9b93b7bc74
Use the getopt() in getopt_long.c which supports some GNU extensions.
getopt.c is no longer compiled and will eventually be removed.
21 years ago
jmc
fdc9cd7b4e
- section reorder
- merge COMPATIBILITY
- kill whitespace at EOL
21 years ago
jmc
edfb378ba7
- section reorder
- whitespace at EOL
21 years ago
jmc
3445741ae0
- section reorder in crypt(3)
- use .An/.Aq for authors
21 years ago
millert
0d36779ed4
typo
21 years ago
millert
46ecf54354
Say POSIX-2001 instead of Single Unix v3. They are the same but we generally
mention POSIX compliance, not Single Unix compliance.
21 years ago
jmc
ecfaa349ba
- typos
- new sentence, new line
21 years ago
ian
3b9490ce8c
New: fmt_scaled() and scan_scaled() convert to and from "human readable"
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's
code for "df -h"; scan_scaled is new. Significantly commented on
and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
21 years ago
tdeval
2fc00a431b
Unbreak 64-bit archs...
21 years ago
tdeval
0106adef12
Pointer cleaning. ok ian@, tedu@, krw@
21 years ago
krw
31a3573e90
Delete reference to /usr/share/doc/papers/malloc.ascii.gz as we do not
have it. We don't even have the directory /usr/share/doc/papers.
ok millert@.
21 years ago
pjanzen
16c2e5fccb
Ideas from NetBSD: document nmemb and include sradixsort in the NAME section.
Also, stomp a comma splice.
21 years ago
jmc
a7d1a88bc4
typos;
21 years ago
jmc
959aa9b10a
typos;
21 years ago
millert
96691bd73a
Pass ndigit+1 as size arg to strlcpy() since ndigit doesn't include the NUL
21 years ago
millert
697db374e9
assembler versions of insque and remque for m68k, also from 4.4BSD
21 years ago
millert
4448841b95
insque and remque are VAX instructions, no need for C functions; From 4.4BSD
21 years ago
millert
f4d64656f8
Include string.h for memset() proto; noticed by lebel@
21 years ago
millert
7466664b6f
Oops, forgot to add remque.c here
21 years ago
millert
7d1570f34c
Add sha2 routines based on code by Aaron D. Gifford with minor
massaging and a man page by me. I used the phk-derived stuff for
sha2hl.c instead of Aaron's for consistency with our other hash
routines.
21 years ago
millert
4f2de66d7b
Clear the digest local var w/ memset() in the End function.
21 years ago
millert
d1a476799c
move insque(3) and remque(3) from libcompat -> libc; they are now POSIX
21 years ago
millert
b4da3af000
move lsearch(3) and insque(3) from libcompat -> libc; they are now POSIX
21 years ago
jmc
980cdd8e8c
updated URL from Leandro Costa;
ok millert@
21 years ago
millert
6bb800e788
Mention that stroul() et al *do* accept negative numbers, they
just (effectively) cast to unsigned. ho@ OK
21 years ago
millert
dc2a63b6dd
Change copyright to a less restrictive ISC-style license to encourage
people to bundle this code.
21 years ago
jsyn
e0dd35b3b8
make the second example valid; ok millert@
21 years ago
markus
167556df86
makeing local table static saves some bytes; idea from mickey@
21 years ago
deraadt
e1a82d043a
Xr to strlcpy and strlcat more; ok millert
21 years ago
hin
e8060b1c19
strcat -> strlcat
ok deraadt@ tedu@ tdeval@
21 years ago
millert
c60d05f512
Use snprintf instead of a strcpy(), strncat() and strcat() sequence
deraadt@ OK
21 years ago
jmc
225b6ba206
fifo -> FIFO
ok millert@
21 years ago
millert
54bd43263c
use strlcpy(); assumes buf is at least ndigit bytes long which is as
safe as we can get. deraadt@ OK
21 years ago
deraadt
876bf51192
knf
21 years ago
millert
f3a8ddc140
Throw an error if the username field is empty; noticed by mpech@
21 years ago
deraadt
d3c9af5aa3
more asprintf; millert ok
21 years ago
deraadt
8ccc7922d7
asprintf; millert ok
21 years ago
millert
52eab7a141
ANSI function headers
21 years ago
deraadt
e155dacb0f
a few more strlcy; ok from beck & ho
22 years ago
jmc
8d7d8263de
.Xr typos;
ok deraadt@
22 years ago
jmc
81a92b2d75
.Xr's;
typos in man page section
ok deraadt@
22 years ago
kjell
804f08787d
Fix a pasto. (There is no ULLONG_MIN, for hopefully obvious reasons)
ok millert
22 years ago
millert
156f1b279a
Use int32_t, not long since this deals with 32bit quantities.
Inspired by a change in NetBSD and reported by Jan Johansson.
22 years ago
deraadt
a3ae0324b4
of of
22 years ago
deraadt
04ad54fbad
fix a variety of missing or wrong MLINKS
22 years ago