David Xu
f2a77c2a7c
Fix markeup.
...
Submitted by: ru
2005-12-06 09:52:54 +00:00
David Xu
52cf88e2ef
Fix markup.
...
Submitted by: ru
2005-12-05 09:31:49 +00:00
David Xu
8c1e5ef215
Document SIGEV_NONE and SIGEV_SIGNAL.
2005-12-05 04:44:39 +00:00
Ruslan Ermilov
4b66957aa4
Fix prototype.
2005-12-03 09:01:02 +00:00
Ruslan Ermilov
fc37aef9c0
Fix type of argument.
2005-12-03 09:00:43 +00:00
Ruslan Ermilov
61df86c1ed
Break hard sentence break.
2005-12-03 08:52:07 +00:00
Doug Ambrisko
c26efd485e
Switch BUILD_ARCH in Makefile to use uname -p suggested by ru.
...
Switch strncpy to strlcpy suggested by gad and issue found by pjd.
Add to uname(3) man page describing:
UNAME_s
UNAME_r
UNAME_v
UNAME_m
Add to getosreldate(3) man page describing:
OSVERSION
Submitted by: ru, pjd/gad
Reviewed by: ru (man pages)
2005-12-03 05:11:07 +00:00
David Xu
8fcc657635
Remove implementation-defined, it has already been described in NOTES
...
section.
2005-12-03 02:49:04 +00:00
David Xu
ce45c6d3d7
Remove implementation-defined sentences.
2005-12-03 02:31:18 +00:00
David Xu
951ac754b9
Fix lots of markup and content bug.
...
Submitted by: ru
2005-12-03 01:34:41 +00:00
David Xu
0e6a74358e
syscall -> system call.
2005-12-02 13:50:56 +00:00
David Xu
4ea655e4bb
Fix markup.
2005-12-02 09:04:35 +00:00
Doug Ambrisko
00bb0c6bdf
Unbreak build when I fluff the clean-up of __FBSDID diff reduction
...
before commit.
pointyhat++
2005-12-02 04:55:05 +00:00
Doug Ambrisko
d630a05f40
Add support to easily build FreeBSD unpacked in a chroot of another
...
FreeBSD machine. To do this add the man 1 uname changes to __xuname.c
so we can override the settings it reports. Add OSVERSION override
to getosreldate. Finally which Makefile.inc1 to use uname -m instead
of sysctl -n hw.machine_arch to get the arch. type.
With these change you can put a complete FreeBSD OS image into a
chroot set:
UNAME_s=FreeBSD
UNAME_r=4.7-RELEASE
UNAME_v="FreeBSD $UNAME_r #1 : Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE"
UNAME_m=i386
UNAME_p=i386
OSVERSION=470000
on an amd64 or i386 and it just work including building ports and using
pkg_add -r etc. The caveat for this example is that these patches
have to be applied to FreeBSD 4.7 and the uname(1) changes need to
be merged. This also addresses issue with libtool.
This is usefull for when a build machine has been trashed for an
old release and we want to do a build on a new machine that FreeBSD
4.7 won't run on ...
2005-12-02 00:50:30 +00:00
Warner Losh
fdc504a929
Tweak markup for POSIX standards. Minor wordsmithing.
...
Submitted by: ru@
2005-12-01 18:17:50 +00:00
Warner Losh
edd94d735c
Document O_NOCTTY and O_SYNC. O_NOCTTY is a nop on freebsd, while on
...
other systems it prevents a tty from becoming a controlling tty on the
open. O_SYNC is the POSIX name for O_FSYNC.
The Markup Police may need to tweak my references to standards.
2005-12-01 17:54:33 +00:00
John Baldwin
38df04a76d
Add MLINK for execvP(3).
...
PR: docs/89783
Submitted by: Andreas Kohn andreas at syndrom23 dot de
MFC after: 3 days
2005-12-01 15:56:05 +00:00
David Xu
6f59c4c0cd
Update conformance and history sections.
2005-11-30 04:15:44 +00:00
David Xu
400786f6bb
Symlink mq_send to mq_timedsend.
...
Symlink mq_receive to mq_timedreceive.
2005-11-30 04:14:53 +00:00
David Xu
968cc4bd61
Add manuals for POSIX message queue.
2005-11-30 04:12:37 +00:00
David Xu
8635f5a162
Implement following POSIX message queue interfaces:
...
mq_close, mq_getattr, mq_receive, mq_send.
2005-11-26 13:01:17 +00:00
Ruslan Ermilov
47be132478
Make SYNOPSIS compile.
...
Attn peter@: this manpage wasn't synced with your code changes.
2005-11-24 07:48:19 +00:00
Ruslan Ermilov
93f0f0427b
Fix prototypes.
...
Attn davidxu@: most likely, the description should also be tweaked
after your undocumented changes that changed these prototypes.
2005-11-24 07:33:35 +00:00
Ruslan Ermilov
7062693e56
Fix prototypes.
2005-11-24 07:12:01 +00:00
Ruslan Ermilov
6eee826901
Keep up with const poisoning in uuid.h,v 1.3.
2005-11-24 07:04:20 +00:00
Ruslan Ermilov
36c71f6ac1
Fix prototype.
2005-11-24 06:56:21 +00:00
Ruslan Ermilov
4ca0505435
Fix prototype.
2005-11-23 20:34:37 +00:00
Ruslan Ermilov
8b79908889
Fix prototype.
2005-11-23 20:26:58 +00:00
Ruslan Ermilov
79be508c8f
Fix prototypes.
2005-11-23 16:44:23 +00:00
Ruslan Ermilov
8ae7a845d5
There's no longer^Wyet <sys/capability.h>.
2005-11-23 16:24:39 +00:00
Ruslan Ermilov
49e5b98f5a
Fix inet6_opt_get_val() prototype.
2005-11-23 16:07:54 +00:00
Ruslan Ermilov
5306fb2d0c
Make SYNOPSIS compile.
2005-11-23 15:55:38 +00:00
Ruslan Ermilov
b0faeb2d42
Make SYNOPSIS compile after imp@'s changes.
2005-11-23 15:44:42 +00:00
Ruslan Ermilov
16a97b8591
Make SYNOPSIS compile.
2005-11-23 15:41:36 +00:00
Ruslan Ermilov
c48648d2c1
Add missing includes.
2005-11-23 10:49:07 +00:00
Simon L. B. Nielsen
71dac3fb8f
Do not explicitly state how many bytes an argument list can be in the
...
description of E2BIG, since it's now larger on some platforms.
MFC after: 3 days
2005-11-19 11:30:55 +00:00
Andre Oppermann
f6232df7a4
Document CLOCK_UPTIME which returns the current uptime in SI seconds.
...
At the moment it is just an alias for CLOCK_MONOTONIC which reports
the same number.
Sponsored by: TCP/IP Optimization Fundraise 2005
2005-11-18 17:13:22 +00:00
Ruslan Ermilov
ca5137742a
Fix up markup.
2005-11-18 11:54:14 +00:00
Ruslan Ermilov
5507a2aed5
Fix up markup etc. in recently born manpage.
2005-11-18 11:53:23 +00:00
Ruslan Ermilov
110e1704d3
-mdoc sweep.
2005-11-17 13:00:00 +00:00
Hajimu UMEMOTO
4a58c5f5a3
The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASES
...
define also, but res_config.h was not included into libc/net/name6.c.
So getipnodebyaddr() ignored the multiple PTRs.
PR: kern/88241
Submitted by: Dan Lukes <dan__at__obluda.cz>
MFC after: 3 days
2005-11-15 03:40:15 +00:00
Daniel Eischen
f4fb3299fa
Fix a stub function so that is has the correct number of
...
arguments. While I'm here, correct a couple of [tab] alignments.
Submitted by: bland
2005-11-12 16:00:29 +00:00
David Xu
ec0fd3f855
add continued status.
2005-11-12 01:37:03 +00:00
David Xu
b1e515a3f4
Insert missing copyright headers.
2005-11-12 01:19:05 +00:00
David Xu
b71ec5beb4
Only signo should be marked with .Fa.
2005-11-11 14:52:06 +00:00
Xin LI
16902e8a3f
Fix plural.
2005-11-11 08:00:44 +00:00
David Xu
d971c2eec2
Fix plural.
2005-11-11 07:50:51 +00:00
David Xu
9463da7fe5
Fix copy-paste issue.
2005-11-11 07:50:09 +00:00
David Xu
bb5eebe6f2
Add POSIX timer manuals.
2005-11-11 07:48:38 +00:00
David Xu
a0e82eba5d
Add descriptions about signal queue.
2005-11-11 05:40:39 +00:00
David Xu
c05e95d4ff
Er, highlight function wait().
2005-11-11 05:38:40 +00:00
David Xu
4c1a973e6e
Add notes about queued SIGCHLD.
2005-11-11 05:30:48 +00:00
David Xu
e84ece6bef
Add manuals for sigqueue, sigtimedwait, sigwaitinfo.
2005-11-11 03:13:25 +00:00
Joseph Koshy
9dc2f0df89
Document the fact that sendfile(2) can EOPNOTSUPP if the underlying
...
filesystem for the file being transferred doesn't support UIO_NOCOPY.
Reported by: Niki Denev <nike_d@cytexbg.com>
2005-10-31 04:08:28 +00:00
Joseph Koshy
012546dd27
Sort error list.
2005-10-31 04:00:20 +00:00
Stefan Farfeleder
c86b3a98fe
Make __sem_timedwait() consistent with the sem_timedwait() prototype.
2005-10-18 17:24:03 +00:00
Olivier Houchard
dc9e655c0b
Fix a long line in copyright notice.
...
Pointed out by: Gavin Atkinson gavin.atkinson ury york ac uk
2005-10-03 14:43:27 +00:00
Olivier Houchard
3507a15713
Add an asm version of strlen() for arm (how useful).
2005-10-03 14:21:49 +00:00
Andrey A. Chernov
323d07b497
Just by allocating size*2 bytes we can't be sure that new size will be enough,
...
so change two
if (size not enough) {
reallocf(size*2);
}
into
while (size not enough) {
reallocf(size*2);
}
2005-09-18 17:50:58 +00:00
Christian Brueffer
9dbf9a4dca
Use the correct function name as .Nm argument.
...
PR: 86169
Submitted by: Toby Peterson <toby@apple.com>
MFC after: 3 days
2005-09-18 15:40:03 +00:00
Andrey A. Chernov
b9fb13f573
Cosmetic fixes to prev. commit.
...
Change first MAXPATHLEN to more standard PATH_MAX
Change second MAXPATHLEN to 1024 (it is temp buffer not related)
Change comment to reflect that.
Suggested by: bde
2005-09-15 17:25:52 +00:00
Andrey A. Chernov
dedaf3ca1f
Remove any hardcoded assumptions about malloc's way of allocating,
...
just use MAXPATHLEN. It prevents potential buffer overflow with other
malloc implementations.
(this change based on submitted patch)
PR: 86135
Submitted by: Trevor Blackwell <tlb@tlb.org>
2005-09-14 20:35:46 +00:00
Andrey A. Chernov
369316a848
Don't reuse *pl to skip [], it is already used for {} parts in the loop above
...
(submitted patch slightly modified)
PR: 86038
Submitted by: Gerd Rausch <gerd@juniper.net>
2005-09-14 19:14:32 +00:00
Stefan Farfeleder
613100918d
Include a couple of headers to ensure consistency between the prototype and
...
the function definition.
2005-09-12 19:52:42 +00:00
Stefan Farfeleder
a3b5200e71
- Add prototypes for __cmpdi2() and __ucmpdi2().
...
- Remove GCC 1 stuff.
2005-09-12 16:16:12 +00:00
Stefan Farfeleder
69053d669e
Use prototypes for CHIN1() and CHIN().
2005-09-12 16:02:54 +00:00
Stefan Farfeleder
2ba64027bc
Move the declaration of __cleanup to libc_private.h as it is used in both
...
stdio/ and stdlib/. Don't define __cleanup twice.
2005-09-12 13:46:32 +00:00
Stefan Farfeleder
f5365e2a65
Add a couple of missing MLINKS.
2005-09-11 20:59:52 +00:00
Stefan Farfeleder
4af29928b4
The arguments for time2posix() and posix2time() are time_t values, not
...
pointers.
2005-09-11 17:09:50 +00:00
Robert Watson
f0dc021549
Add mkfifo(2) to the man page SEE ALSO list for umask(2) -- it's
...
mentioned in the description.
MFC after: 2 days
2005-09-10 20:47:02 +00:00
Stefan Farfeleder
35a4bf1ce0
Add an MLINK for devname_r().
2005-09-10 14:09:37 +00:00
Stefan Farfeleder
442a7dde61
The header and the man page say that sethostid() returns void, so make the
...
definition match. Include <unistd.h>.
2005-09-10 13:54:42 +00:00
Stefan Farfeleder
16ca32b39f
Fix parameter types of close and get members in DB.
2005-09-10 12:40:51 +00:00
Tim J. Robbins
6595b51a7f
Remove references to nonexistent "FreeBSD Security Architecture" document.
2005-09-05 09:49:33 +00:00
Gary W. Swearingen
669fe42db9
Added a sentence to explain what "span" means.
...
PR: docs/84850
Submitted by: garys
MFC after: 3 days
Approved by: keramida
2005-08-29 20:41:58 +00:00
Gleb Smirnoff
83c83f3e46
- Document the fact that the real length of listen queue is 1.5 more
...
than the value of backlog argument.
- Document the fact that a subsequent listen(2) calls on the listening
socket change the backlog argument.
- Note that current listen queue lengths can be queried using netstat(1).
Submitted by: Igor Sysoev <is rambler-co.ru>
Wording by: gnn
2005-08-29 10:23:46 +00:00
Andre Oppermann
6050c8fe05
Add the function memmem(3) as found in glibc and others.
...
It is the binary equivalent to strstr(3).
void *memmem(const void *big, size_t big_len,
const void *little, size_t little_len);
Submitted by: Pascal Gloor <pascal.gloor at spale.com>
MFC after: 3 days
2005-08-25 18:26:58 +00:00
Stefan Farfeleder
d8f77b4529
Include <sys/types.h> and <limits.h> ourselves, don't assume they are included
...
through <pthread.h>.
gen/sem.c: Prerequisite for <_semaphore.h>
net/getprotoent.c: USHRT_MAX
net/getservent.c: USHRT_MAX
stdio/ungetwc.c: MB_LEN_MAX
stdio/vfwscanf.c: MB_LEN_MAX
2005-08-20 07:59:13 +00:00
Tim J. Robbins
1ee0dbee57
Fix a boundary condition error in slow() and fast() in multibyte locales:
...
we must allow the character beginning at "p" to be converted to a wide
character for the purposes of EOL processing and word-boundary matching.
2005-08-17 11:37:38 +00:00
Tim J. Robbins
0eac054729
Document the fact that word-boundary matching does not work
...
properly in multibyte locales.
2005-08-17 11:21:15 +00:00
Tim J. Robbins
d62e8d4c7c
Add an implementation of the semi-standard wcsdup() function, as found
...
on Microsoft and GNU systems.
2005-08-13 05:54:33 +00:00
Tim J. Robbins
0853006ff1
Change OUT from -2 to CHAR_MIN-1, making it impossible for it to
...
inadvertently match a negative char in the RE being compiled.
This fixes compilation of "\376" (as an ERE) and "\376\376" (as a BRE).
PR: 84740
MFC after: 1 week
2005-08-13 02:30:15 +00:00
Simon L. B. Nielsen
05fe2c1cb6
Add missing links from getgrent_r.3, getgrnam_r.3, and getgrgid_r.3 to
...
getgrent.3.
Submitted by: Ulf Lilleengen <lulf@kerneled.org>
MFC after: 3 days
2005-08-12 22:46:15 +00:00
Poul-Henning Kamp
3d86554c20
Respect the YES_HESIOD build variable.
2005-08-06 16:53:55 +00:00
Daniel Eischen
ed0b0abcf7
Make syslog() use the internal (non-cancellation point) _usleep().
...
Prior to this it was calling the cancellable usleep() while holding
a lock.
2005-08-03 00:45:58 +00:00
Daniel Eischen
8450917472
Make usleep() overridable by the thread libraries so they can provide
...
cancellation points.
Noticed by: phk
2005-08-03 00:44:25 +00:00
Daniel Eischen
78956f2474
Add namespace #defines for usleep.
2005-08-03 00:43:14 +00:00
Giorgos Keramidas
6fb9b618f5
Fix all the spelling mistakes I could find in the man pages for words
...
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
Diomidis Spinellis
87a236caf5
Document the ECONNRESET errno value.
2005-07-29 07:42:10 +00:00
Hajimu UMEMOTO
5495564735
don't accept invalid form of an address like 1:2:3:4:5:6:7::8.
...
PR: bin/84106
Obtained from: BIND9
MFC after: 2 days
2005-07-27 14:33:36 +00:00
Matthew N. Dodd
50007d443b
Move initialization above point of first possible reference to
...
avoid overwriting ty_status values set from the 'type' field.
Previously TTY_DIALUP and TTY_NETWORK flags did not match
specified type.
2005-07-25 17:57:15 +00:00
Tim J. Robbins
d48c77b534
Speed up __wcsconv() (and hence the printf() %ls format):
...
- use wcsrtombs() instead of a wcrtomb() loop where possible.
- avoid wcrtomb() loop when output precision is small.
2005-07-24 12:12:44 +00:00
Pawel Jakub Dawidek
9975a9a287
Better translation.
2005-07-23 21:30:35 +00:00
Jonathan Chen
c5a096e0e0
fix innetgr() returning false positives and negatives when reverse netgroup
...
matching is used.
PR: 35506
MFC after: 3 days
2005-07-22 22:20:26 +00:00
Hajimu UMEMOTO
85a71a15c8
Remove padding for ABI compatibility of ai_addrlen member
...
from struct addrinfo. This change break ABI compatibility
on 64 bit arch.
2005-07-22 18:21:28 +00:00
Tim J. Robbins
d2a57b3026
Add HISTORY section.
2005-07-21 10:53:27 +00:00
Tim J. Robbins
9376b9d71a
Add cross-reference to nextwctype(3).
2005-07-21 10:32:17 +00:00
Tim J. Robbins
5a94ee1180
Add COMPATIBILITY and HISTORY sections. Fix typo.
2005-07-21 10:27:45 +00:00
Hajimu UMEMOTO
d84e21303c
refer RFC 3542 rather than RFC 2292bis.
...
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
2005-07-19 18:13:58 +00:00
Hajimu UMEMOTO
d5cbe1abb0
fixed the validation code of routing header length in inet6_rth_getaddr().
...
reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com>
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
2005-07-19 18:09:44 +00:00