Commit Graph

4773 Commits

Author SHA1 Message Date
Michael Kerrisk ed02bff968 spfix 2008-08-10 15:11:07 +00:00
Michael Kerrisk 7e919b7a1e tfix 2008-08-10 15:10:45 +00:00
Michael Kerrisk 756ede2e38 BUGS: In glibc 2.3.3, tgamma(+-0) produced a domain error
instead of a pole error.
2008-08-10 15:10:08 +00:00
Michael Kerrisk 078dfbb054 BUGS: Note the bogus FE_INVALID exception that occurred in glibc
2.3.2 and earlier on overflow and underflow.
2008-08-10 15:04:14 +00:00
Michael Kerrisk e4eb3b9272 sync 2008-08-10 14:54:40 +00:00
Michael Kerrisk b4338c3fac Restore text about PATH_MAX (it may no be a compile-time constant;
its value may depend on the file system).
2008-08-09 12:22:09 +00:00
Michael Kerrisk c359e37d82 Clarify description of getcwd() for buf==NULL case;
CONFORMING TO: According to POSIX.1, the behavior of getcwd()
is unspecified for the buf==NULL case.
Add an introductory paragraph giving an overview of what these functions do.
Fix error in description of getwd(): it does not truncate the
pathname; rather, it gives an error if the pathname exceeds PATH_MAX bytes.
Rewrote RETURN VALUE section.
Add EINVAL ENAMETOOLONG errors for getwd().
Various other clarifications and wording fixes.
CONFORMING TO: POSIX.1-2001 does not define any errors for getwd().
2008-08-09 05:46:39 +00:00
Michael Kerrisk 7847d5cdfd grfix 2008-08-09 04:07:31 +00:00
Michael Kerrisk 51d0a7e980 grfix 2008-08-09 03:59:59 +00:00
Michael Kerrisk 20ca75a0d7 Lee Schermerhorn
Update the get_mempolicy(2) man page to add in the description of
the MPOL_F_MEMS_ALLOWED flag, added in 2.6.23.
mtk
Document additional EINVAL error that occurs is MPOL_F_MEMS_ALLOWED
is specified with either MPOL_F_ADDR or MPOL_F_NODE.
2008-08-08 20:02:56 +00:00
Michael Kerrisk 63e28ad443 Lee Schermerhorn
Misc cleanup of get_mempolicy(2):
+ mention that any mode flags will be saved with mode.
I don't bother to document mode flags here because we
already have a pointer to set_mempolicy(2) for more info
on memory policy.  mode flags are discussed there.
+ remove some old, obsolete [IMO] NOTES and 'roff comments.
2008-08-08 19:47:20 +00:00
Michael Kerrisk 1dd4e8b006 Document the Linux implementation of the UDP-Lite protocol,
new in Linux 2.6.20.
2008-08-08 16:55:07 +00:00
Michael Kerrisk 64bfda2738 SEE ALSO: add udplite(7). 2008-08-08 16:50:10 +00:00
Michael Kerrisk d4c8c97c31 s/PF_/AF_/ for socket family constants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has
been a protocol family that had more than one address family,
and POSIX.1-2001 only specifies the AF_* constants.
2008-08-08 16:47:53 +00:00
Michael Kerrisk 77117f4fc5 Reverting blunder in commit 4699 2008-08-08 16:41:48 +00:00
Michael Kerrisk 10874173db s/PF_/AF_/ for socket family conistants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has
been a protocol family that had more than one address family,
and POSIX.1-2001 only specifies the AF_* constants.
2008-08-08 16:28:06 +00:00
Michael Kerrisk ea6ac50ed3 sync 2008-08-08 15:25:50 +00:00
Michael Kerrisk bfcecf8a76 Fix error conditions, now that the kernel silently ignores
nodes outside the task's cpuset, as long as one valid node remains.

Now that cpuset man page exists, we can refer to it.  Remove
stale comment regarding lack thereof.
2008-08-08 15:22:56 +00:00
Michael Kerrisk f6ecd76eb8 ffix 2008-08-08 05:19:07 +00:00
Michael Kerrisk cdba92536d Lee Schermerhorn
Fix up the error return for nodemask containing nodes disallowed by
the process' current cpuset.  Disallowed nodes are now silently ignored,
as long as the nodemask contains at least one node that is on-line,
allowed by the process' cpuset and has memory.

Now that we have a cpuset man page, we can refer to cpusets directly
in the man page text.
2008-08-07 12:19:08 +00:00
Michael Kerrisk 5dcc3b6601 Add reference to fenv(3) for discussion of current rounding mode. 2008-08-07 11:46:19 +00:00
Michael Kerrisk a0c3c9d48b sync 2008-08-07 11:38:07 +00:00
Michael Kerrisk c0d9e15aab Add Fabian Kreutz to 3.06 changelog 2008-08-07 11:38:00 +00:00
Michael Kerrisk 82e15b5ebe Provide more detail in the description of rounding modes.
Add text describing FLT_ROUNDS (foermerly in fma.3).
Add BUGS section pointing out the FLT_ROUNDS does not reflect
changes by fesetround().
2008-08-07 11:37:14 +00:00
Michael Kerrisk 00b5d3721e Remove text about FLT_ROUNDS, replacing with a cross-reference to fenv(3). 2008-08-07 11:15:34 +00:00
Michael Kerrisk 6c48afffcf wfix 2008-08-07 11:08:15 +00:00
Michael Kerrisk 2fb19a1619 The floating-point environment is reset to the default
during an execve().
2008-08-07 10:54:18 +00:00
Michael Kerrisk a7427457db These functions are still not in glibc as at version 2.8. 2008-08-07 07:12:15 +00:00
Michael Kerrisk d41a0a779d CONFORMING TO: Note that the standards provide a weaker guarantee
for the return value of isinf().
2008-08-07 06:57:15 +00:00
Michael Kerrisk e2858a6d2c Updated details for POSIX.1-2008, and noted that if
POSIX.1-2001 is listed in the CONFORMING TO section of a man
page, then the read can assume that the interface is also
specified in POSIX.1-2008, unless otherwise noted.
2008-08-07 06:50:57 +00:00
Michael Kerrisk 280a7a9559 tfix 2008-08-07 04:23:58 +00:00
Michael Kerrisk 6442511800 tfix 2008-08-07 04:20:52 +00:00
Michael Kerrisk 764faff43b wfix 2008-08-07 04:16:20 +00:00
Michael Kerrisk a1759255c6 SEE ALSO Add carg(3). 2008-08-07 04:08:19 +00:00
Michael Kerrisk b05757449e ffix 2008-08-06 20:46:09 +00:00
Michael Kerrisk 9fcbe835d8 ffix 2008-08-06 20:45:26 +00:00
Michael Kerrisk f36903108a ffix 2008-08-06 20:41:47 +00:00
Michael Kerrisk 89b3c6b808 ffix 2008-08-06 20:33:17 +00:00
Michael Kerrisk b546318a5f In the ipc_perm structure definition, some fields were
incorrectly named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:22:46 +00:00
Michael Kerrisk 58413227bf ffix 2008-08-06 20:20:52 +00:00
Michael Kerrisk 765eec1080 Last change was really:
In the ipc_perm structure definition, some fields were
incorrectly named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:19:17 +00:00
Michael Kerrisk 2d2892fc42 ffix 2008-08-06 20:18:38 +00:00
Michael Kerrisk 6edbac015c ffix 2008-08-06 20:17:27 +00:00
Michael Kerrisk 116e7cd9df tfix 2008-08-06 20:09:41 +00:00
Michael Kerrisk b101827706 In ipc_perm structure definition, some fields were incorrectly
named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:09:12 +00:00
Michael Kerrisk a2a11a45ec ffix 2008-08-06 20:08:09 +00:00
Michael Kerrisk c153f4a6fb ffix 2008-08-06 19:58:00 +00:00
Michael Kerrisk 22b2283175 Remove EFAULT from errors. Under ENOMEM error, note that EFAULT
was the error produced in some cases for kernels before 2.4.19.
2008-08-06 19:41:51 +00:00
Michael Kerrisk 4bc2109828 sync 2008-08-06 12:47:32 +00:00
Michael Kerrisk f8eabcf929 POSIX.1-2008 removes the specification of usleep(). 2008-08-06 12:46:57 +00:00