hugh
646a4ed2b2
Document device lookup semantics.
25 years ago
millert
54a539ff4c
crank minor
25 years ago
millert
192f7d89fb
Add OPENDEV_BLCK
25 years ago
millert
c67af3de41
Add OPENDEV_BLCK flag for opening the block devices (the character
device is opened by default).
Don't open the file w/o adding a /dev/ prefix unless the file has
a '/' in it. This prevents problems where someone says "disklabel
sd0" with a file called "sd0" in the cwd.
The OPENDEV_DRCT flag has been deprecated as it is the the default
behavior and always has been.
Add checks for >= MAXPATHLEN and return ENAMETOOLONG in that case.
25 years ago
bjc
8c24d2dab9
#ifdef vax -> #ifdef __vax__
25 years ago
deraadt
ac4b5078d3
flesh
25 years ago
deraadt
944121c7c5
improve the english
25 years ago
deraadt
259d162278
type decl error
25 years ago
deraadt
3369ca98b5
correct example
25 years ago
aaron
a1359f55ef
Add ERRORS section (the strdup(3) function may fail and set errno to any of the
errors specified by the library routine malloc(3)).
25 years ago
aaron
ef06e8e8a1
Check return value of strdup(3) for NULL in example code (duh).
25 years ago
aaron
b419710bcf
Flesh out libc string function man pages.
25 years ago
aaron
e985eebf26
Flesh out stdlib function man pages.
25 years ago
aaron
41c60d7ad7
- Formatting repairs and standardizations.
- s/MESSAGES/DIAGNOSTICS/, and put message descriptions in a nice list.
- Talk more about how using malloc() in signal handlers is bad.
25 years ago
aaron
0b659e53e3
Repairs, mostly removing hard sentence breaks.
25 years ago
aaron
36ceaa2f58
Repairs.
25 years ago
aaron
44a11ff941
Mostly punctuation fixes.
25 years ago
aaron
faab0df881
Trailing whitespace begone!
25 years ago
deraadt
0f5d44fb3b
missing THREAD_UNLOCK; netch@segfault.kiev.ua
25 years ago
millert
c83abe7a82
Fix the leak for real (that's what I get for hacking when i can't sleep).
25 years ago
millert
540eda599c
Fix an fd leak if the read from /dev/arandom fails. Pointed out by
Markus Friedl.
25 years ago
millert
6dc6d47610
MLINK srandomdev
25 years ago
millert
258337bfb7
Add srandomdev() from FreeBSD for use by sendmail and others.
25 years ago
millert
a61f3f83b9
First appeared in OpenBSD 2.1
25 years ago
deraadt
961bcc762e
no need to spec the link path
25 years ago
aaron
b13b9f5520
Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).
25 years ago
aaron
33d9936e34
Do not leave `(' characters dangling at the end of lines; instead, use the
appropriate mdoc macros to handle these cases.
25 years ago
aaron
d4dc0165bd
In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.
25 years ago
deraadt
96494ea71f
typo fix; halogen@nol.net
25 years ago
aaron
a74b2e14eb
Use Dq/Sq and friends.
25 years ago
deraadt
c2fc570e13
repair prototypes; cky@pobox.com
25 years ago
deraadt
08f28aa616
repair
25 years ago
aaron
7f1ab2f579
Use .Er macro when referring to errno error names.
25 years ago
aaron
9da79ea1ef
ie. -> i.e.,
25 years ago
pjanzen
9bbca5e9e2
Clarify and mention that errno is set to ENOMEM on failure of malloc(),
calloc(), and realloc(). Idea from NetBSD.
25 years ago
pjanzen
f33db6dba0
Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX.
25 years ago
d
16dcd011b5
include thread_private.h
25 years ago
deraadt
e22790e158
update header requirements; bde
25 years ago
aaron
a66ee899c2
Grammar; deraadt@
25 years ago
provos
bf5c3de442
speed up blowfish by > 20%.
25 years ago
deraadt
a71d992a6f
say how long the buffer needs to be
25 years ago
millert
676f8aa08c
Add missing MLINKs
25 years ago
espie
7acebf4f57
Clean up memchr slightly to better match coming memrchr
(K&R-style type promotions are evil),
25 years ago
ericj
15d114722d
add man page for login_fbtab()
25 years ago
aaron
0ffab0433c
Tweaks; millert@
25 years ago
millert
59e4929dbc
calloc.c is back
25 years ago
millert
b3d4a938bb
calloc() needs to be separate from malloc in case a user wants to have
their own malloc() implementation.
25 years ago
aaron
cdda3b8eef
Merge calloc(3) man page into malloc.3; as suggested by millert@
25 years ago
millert
e924435af1
Move calloc() into malloc.c and only zero out the area if malloc()
didn't do so for us. By default, malloc() zeros out the space it
allocates but the programmer cannot rely on this as it is implementation-
specific (and configurable via /etc/malloc.conf)
25 years ago
art
16cfb0f4b1
Install man-page links for strtok_r.
25 years ago