Commit Graph

4775 Commits

Author SHA1 Message Date
chris
725f3ca1a7 correct comment, it's r0, not a0. 2002-08-17 01:23:36 +00:00
itojun
4005a5250f set h_errno properly if internal string manipulation fails. 2002-08-16 21:54:00 +00:00
itojun
44ca8f4da1 use sizeof, avoid duplicated use of MAXDNAME 2002-08-16 13:59:39 +00:00
itojun
1173373b45 be more picky about size arg 2002-08-16 12:23:20 +00:00
itojun
1e1a07972c lint clean 2002-08-16 12:20:19 +00:00
itojun
bb80ac654a avoid sprintf. use snprintf with picky error traps. 2002-08-16 12:18:06 +00:00
itojun
0de70db9cd check for pointer overwrap 2002-08-16 12:10:37 +00:00
itojun
b51bffa186 correct cases with zero in the middle
(0x00ff00ff should be "0.255.0.255", not "255.255")
2002-08-16 12:05:01 +00:00
itojun
0b6566bcda avoid sprintf. use snprintf. simplify cases where 1st arg is 0. 2002-08-16 12:03:41 +00:00
itojun
c6a3499c08 use snprintf. don't duplicate MAXDNAME (use sizeof). 2002-08-16 11:53:19 +00:00
itojun
90a8853f46 use strlcat 2002-08-16 11:49:57 +00:00
itojun
f425242dc9 fix weird indent for comment lines 2002-08-16 11:48:25 +00:00
itojun
c5a4255163 eliminate sprintf. use snprintf.
XXX loc_ntoa should be changed to take additional size_t as arg
2002-08-16 11:45:55 +00:00
itojun
5c323232e7 eliminate sprintf, use snprintf. check strlcat error. 2002-08-16 11:30:28 +00:00
itojun
3452fa16c4 be more picky about string buffer manipulation. hints from freebsd 2002-08-16 07:39:44 +00:00
wiz
03b08c2f0d Remove duplicate lines. 2002-08-12 21:52:37 +00:00
soren
6ca2d9ac81 Catch up to struct dirent. 2002-08-12 21:26:27 +00:00
soren
7b0d231778 Sort struct members. 2002-08-12 21:18:25 +00:00
soren
e4a72452ec Take formatting fixes and note about deleted files from getdents.2. 2002-08-12 21:14:12 +00:00
yamt
d536e5ccae add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:44:33 +00:00
yamt
e8cb4f166c bump .Dd . 2002-08-11 14:43:52 +00:00
yamt
03664cd132 - detail protections.
- add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:36:33 +00:00
yamt
1c708a4b08 bring in RETURN VALUES from openbsd. 2002-08-11 13:17:35 +00:00
yamt
e52744d883 - document generic ioctls.
- mention EFAULT.
from OpenBSD.
2002-08-11 12:40:46 +00:00
yamt
a63161243b more description from openbsd. 2002-08-11 12:22:48 +00:00
yamt
eaf49dbcad backout previous partly:
we don't check if processes are in the same session or not.
2002-08-11 12:12:54 +00:00
yamt
74b1a91d8e bring in ERRORS from openbsd. 2002-08-11 12:09:11 +00:00
yamt
906f41fac5 - include typical uses.
from openbsd.
2002-08-11 12:04:25 +00:00
yamt
731cbc6eb3 bring in warnings from freebsd via openbsd. 2002-08-11 11:46:21 +00:00
yamt
a86e2e3273 note that child should use _exit instead of exit.
from OpenBSD.
2002-08-11 10:35:48 +00:00
yamt
b09419c060 bump .Dd . 2002-08-11 10:28:23 +00:00
yamt
740bfa56b7 document a hack about setuid programs and fd 0, 1 and 2.
from OpenBSD.
2002-08-11 10:27:49 +00:00
yamt
0997545d18 bring in EXAMPLES from openbsd. 2002-08-11 09:39:10 +00:00
yamt
0da40e1ed0 - correct how to check empty field.
- improve examples.
from OpenBSD.
2002-08-11 09:36:15 +00:00
yamt
10a7dd0256 bring in EXAMPLES from openbsd. 2002-08-11 08:22:30 +00:00
yamt
cdac947b04 bring in EXAMPLES and ERRORS from openbsd. 2002-08-11 07:53:06 +00:00
yamt
049fa38b0c bring in EXAMPLES from openbsd. 2002-08-11 07:50:04 +00:00
yamt
fd80262662 improve EXAMPLES.
from openbsd.
2002-08-11 07:46:56 +00:00
yamt
517ec26f7b bring in EXAMPLES from OpenBSD. 2002-08-11 07:36:19 +00:00
yamt
4e0ec2a042 bump .Dd . 2002-08-11 07:31:56 +00:00
yamt
0243d99724 bring in EXAMPLES from openbsd. 2002-08-11 07:31:18 +00:00
yamt
c5caadcfd8 bring in EXAMPLES and a note.
from openbsd.
2002-08-11 07:05:41 +00:00
yamt
6410ff3c05 bring in EXAMPLES from OpenBSD. 2002-08-11 06:53:39 +00:00
yamt
8acd3a715f - more description about realloc.
- mention errno.
- add FILES section for malloc.conf.
from openbsd.
2002-08-11 06:12:45 +00:00
yamt
145cf30b9f fix sample code. from openbsd. 2002-08-10 17:25:01 +00:00
yamt
1060c75faa result of getenv should be treated as read-only.
from OpenBSD.
2002-08-10 17:14:50 +00:00
yamt
0010f8875d bump .Dd . 2002-08-10 17:10:11 +00:00
yamt
9d36ca1fbf note only 8 bits of exit-status is passed.
from OpenBSD.
2002-08-10 17:09:27 +00:00
yamt
120c9b3256 note that alloca can't report error.
from OpenBSD.
2002-08-10 16:55:18 +00:00
yamt
14e693f16b bump .Dd for my previous commit. 2002-08-10 16:51:26 +00:00