David Schultz
ad93428d7a
Bump document date for recent changes.
...
Prodded by: ru
2004-07-09 06:37:44 +00:00
David Schultz
3bdf026534
Document these functions as being in libm, not libc. Some of them
...
*are* in libc for historical reasons, but programmers should not rely
on that fact.
Also remove a BUGS section that is not relevant here.
2004-07-09 03:33:00 +00:00
David Schultz
240dbabfa8
Implement the classification macros isfinite(), isinf(), isnan(), and
...
isnormal() the hard way, rather than relying on fpclassify(). This is
a lose in the sense that we need a total of 12 functions, but it is
necessary for binary compatibility because we have never bumped libm's
major version number. In particular, isinf(), isnan(), and isnanf()
were BSD libc functions before they were C99 macros, so we can't
reimplement them in terms of fpclassify() without adding a dependency
on libc.so.5. I have tried to arrange things so that programs that
could be compiled in FreeBSD 4.X will generate the same external
references when compiled in 5.X. At the same time, the new macros
should remain C99-compliant.
The isinf() and isnan() functions remain in libc for historical
reasons; however, I have moved the functions that implement the macros
isfinite() and isnormal() to libm where they belong. Moreover,
half a dozen MD versions of isinf() and isnan() have been replaced
with MI versions that work equally well.
Prodded by: kris
2004-07-09 03:32:40 +00:00
Garrett Wollman
5b1eaa7bb6
Eliminate some magic numbers and correct description of _PC_NO_TRUNC.
...
Slight emendation to _PC_CHOWN_RESTRICTED, which is in a very similar
boat.
2004-07-08 20:27:38 +00:00
Tim J. Robbins
ee446de0b1
Add a function to iterate over all characters in a particular character
...
class. This is necessary in order to implement tr(1) efficiently in
multibyte locales, since the brute force method of finding all characters
in a class is infeasible with a 32-bit (or wider) wchar_t.
2004-07-08 06:43:37 +00:00
Alfred Perlstein
83f46f9e33
there's no such define as KERN_NAME_MAX, change to _POSIX_NAME_MAX.
2004-07-07 20:47:42 +00:00
Ruslan Ermilov
5792ef0983
Markup nits.
2004-07-07 20:15:31 +00:00
Ruslan Ermilov
1c5f1e7afd
Fixed markup.
2004-07-07 20:11:35 +00:00
Ruslan Ermilov
2410103c1d
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
Hiten Pandya
af73aa7cce
Move the return value information about the getenv(3) library function
...
under the RETURN VALUES section so it is consistent with others.
Cleanup the return value text for getenv(3) a little while I am here.
PR: docs/58033
MFC after: 3 days
2004-07-06 23:21:36 +00:00
Andrey A. Chernov
42aeacc4d4
Keep it sync with OpenBSD:
...
An optional argument cannot start with '-', even if permutation is
disabled.
Obtained from: OpenBSD getopt_long.c v1.17
2004-07-06 13:58:45 +00:00
Tim J. Robbins
65b2e19ef7
Document incorrect handling of multibyte characters.
2004-07-06 09:20:51 +00:00
David Schultz
b03b864ac9
Add implementations of ftw(3) and nftw(3) and the corresponding header
...
ftw.h. This is the implementation written by Joel Baker
<fenton@debian.org> for inclusion in NetBSD, but with several
bugfixes.
Obtained from: Debian
2004-07-05 23:13:16 +00:00
David Schultz
c8f7bbe36b
Documentation for ftw(3) and nftw(3).
...
Obtained from: OpenBSD
2004-07-05 23:12:11 +00:00
Ruslan Ermilov
51f98e585b
Fix the NAME section making whatis(1) happy in particular.
2004-07-05 17:12:53 +00:00
Ruslan Ermilov
1af1ea79a8
Markup fixes.
2004-07-05 07:21:55 +00:00
Ruslan Ermilov
b9384efc1c
Markup nits.
2004-07-05 06:39:03 +00:00
Ruslan Ermilov
1c85060a13
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
Colin Percival
0a31135d11
Add commentary explaining why we return EBADF upon attempts to fflush() a
...
read-only file.
Discussed on: -current
2004-07-04 20:17:00 +00:00
Stefan Farfeleder
5908d366fb
Consistently use __inline instead of __inline__ as the former is an empty macro
...
in <sys/cdefs.h> for compilers without support for inline.
2004-07-04 16:11:03 +00:00
Ruslan Ermilov
a817e9e674
Fixed markup.
2004-07-03 23:14:34 +00:00
Ruslan Ermilov
30950a21e1
Eliminate double whitespace.
2004-07-03 22:30:10 +00:00
Ruslan Ermilov
1a0a934547
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
David Xu
39ba326d65
Follow previous change in makecontext. Use %esi to store next ucp
...
pointer, here we keep orignal %ebp, so we can see where signal handler
comes in and interrupt normal code.
2004-07-02 23:20:05 +00:00
Ruslan Ermilov
d37ea99837
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
Ruslan Ermilov
26b6c45a92
Markup tidying.
2004-07-02 16:45:56 +00:00
David Xu
a5a5d84784
Use %esi to store next ucp pointer. Mark end of stack by
...
setting %ebp to zero, this avoids new gdb to dump a weird
backtrace.
2004-07-02 14:19:44 +00:00
Ruslan Ermilov
33992dc0ed
Markup, grammar, and spelling fixes.
2004-06-30 20:09:10 +00:00
Ruslan Ermilov
bd486f888e
Fixed a typo.
2004-06-30 19:32:41 +00:00
Tim J. Robbins
b7114d4a9c
Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.
...
Noticed by: Stoned Elipot
2004-06-30 13:55:08 +00:00
Roman Kurakin
f01a74582c
s/SS_CANTSENDMORE/SBS_CANTSENDMORE/
2004-06-24 10:53:44 +00:00
Tim J. Robbins
ddc1eded85
Prefix the names of members of _RuneLocale and its sub-structures
...
with ``__'' to avoid polluting the namespace. This doesn't change the
documented rune interface at all, but breaks applications that accessed
_RuneLocale directly.
2004-06-23 07:01:44 +00:00
Bruce M Simpson
cb450d2233
Be specific about which socket properties are inherited from the original
...
socket upon accept(2).
PR: docs/54995, kern/45733
2004-06-23 00:20:46 +00:00
Mike Pritchard
6b4a832600
Spelling fixes.
2004-06-21 20:10:35 +00:00
Mike Pritchard
c20133b039
Spelling fixes.
2004-06-21 19:54:56 +00:00
Mike Pritchard
14243126c5
Spelling fixes.
2004-06-21 19:38:25 +00:00
Mike Pritchard
811815574d
Spelling fixes.
2004-06-21 19:30:45 +00:00
Mike Pritchard
3c6dd63b2c
Spelling fixes.
2004-06-21 18:57:32 +00:00
Mike Pritchard
12270048ca
PR: docs/67884
...
Submitted by: Chirstopger Nehren <apeiron@comcast.net>
2004-06-21 18:24:48 +00:00
Kelly Yancey
0a0163040b
CLOCK_PROF and CLOCK_VIRTUAL are implemented now.
2004-06-17 23:13:38 +00:00
Robert Watson
804613dc06
Add reference to mac_get_link() in man page, which was omitted when
...
mac_get_link() and mac_set_link() were added.
2004-06-17 16:08:36 +00:00
Hajimu UMEMOTO
a214cd1abd
Rename variable name from name' to
hostname'.
...
This is a corresponding change to bin/67994. I'll soon commit
bin/67994 into 4-STABLE. Actually, 5-CURRENT's getaddrinfo()
doesn't have the problem mentiond in bin/67994. However, it is
good to be in sync variable name with 4-STABLE and KAME.
PR: bin/67994
Submitted by: JINMEI Tatuya <jinmei@ocean.jinmei.org>
2004-06-16 16:41:23 +00:00
David Xu
2ff285bf2e
Avoid to touch red zone, in libpthread, ucontext may be saved by kernel's
...
get_mcontext, and libpthread will use signalcontext to deliver signal in
userland, it looks same as kernel's send_sig does.
Reviewed by: deischen, tjr
2004-06-15 21:46:36 +00:00
Kelly Yancey
2aab594f92
The maximum value of iovcnt is IOV_MAX, not 16.
2004-06-15 01:24:41 +00:00
Bruce M Simpson
92b5c26f34
Document the location of the header file which declares the function
...
prototypes documented in this manual page.
PR: bin/4459
2004-06-14 18:41:24 +00:00
Bruce M Simpson
445d6be61e
Date bump.
...
Requested by: krion
2004-06-14 14:24:18 +00:00
Bruce M Simpson
3c6ba09bdf
Document some return values.
...
PR: bin/22198
Submitted by: Nick Johnson (with cleanups)
2004-06-14 14:18:41 +00:00
Stefan Farfeleder
cdff05fa7f
Merge changes from the tzcode2004a import. Wherever possible I tried to bring
...
us closer to the vendor branch.
Requested by: wollman
2004-06-14 10:31:52 +00:00
David Schultz
d2b8f61223
Use .Dv instead of .Li for all the RLIMIT_* constants.
...
Requested by: ru
2004-06-14 01:32:40 +00:00
David Schultz
c294e3b58c
Document RLIMIT_AS. While here, correct an insertion sort error.
2004-06-13 22:19:29 +00:00