Commit Graph

4652 Commits

Author SHA1 Message Date
Michael Kerrisk 5b7257a6e5 wfix 2008-08-11 20:25:49 +00:00
Michael Kerrisk ef3279055d sync 2008-08-11 20:23:28 +00:00
Michael Kerrisk 3fd4929b9c VERSIONS: These functions are available in glibc since version 2.1. 2008-08-11 20:23:22 +00:00
Michael Kerrisk 266b5355cf VERSIONS: strchrnul() since glibc 2.1.1. 2008-08-11 20:13:58 +00:00
Michael Kerrisk 2ee2e7eb1f VERSIONS: mempcpy() since glibc 2.1. 2008-08-11 20:10:18 +00:00
Michael Kerrisk 781166d1d7 VERSIONS: memrchr() since glibc 2.2; rawmemchr() since glibc 2.1. 2008-08-11 20:09:05 +00:00
Michael Kerrisk 64f4b08575 sync 2008-08-11 17:17:46 +00:00
Michael Kerrisk f0d7ce1d71 Added VERSIONS section pointing out that these functions first appeared
in glibc in version 2.1.
2008-08-11 17:13:47 +00:00
Michael Kerrisk 6b300a6bc3 These functions first appeared in glibc 2.1. 2008-08-11 17:05:02 +00:00
Michael Kerrisk 00df6756ac Rewrite introductory paragraph.
Point out that a NaN is commonly returned by functions that report
a domain error.
2008-08-11 16:35:43 +00:00
Michael Kerrisk 89c2514824 sync 2008-08-11 11:09:22 +00:00
Michael Kerrisk 9df71affab Document clock_getcpuclockid(3). 2008-08-11 10:58:20 +00:00
Michael Kerrisk edf60acbe8 SEE ALSO: Add clock_getcpuclockid(3). 2008-08-11 10:55:31 +00:00
Michael Kerrisk ad6eeaf0f3 grfix 2008-08-11 09:01:40 +00:00
Michael Kerrisk a0c1c6f017 s/task/process/g 2008-08-11 09:00:23 +00:00
Michael Kerrisk c03c6055a2 sync 2008-08-11 08:58:32 +00:00
Michael Kerrisk bdd7bc29e2 Attempt to clarify discussion of MPOL_DEFAULT. 2008-08-11 05:31:24 +00:00
Michael Kerrisk 58a69c3c86 tstamp 2008-08-11 05:28:31 +00:00
Michael Kerrisk 4a459ba1ab Add brief discussion of mode flags. 2008-08-11 05:27:30 +00:00
Michael Kerrisk 1313d29781 tweaks 2008-08-11 05:21:24 +00:00
Michael Kerrisk f98b728e0a Lee Schermerhorn
Another attempt to rationalize description of MPOL_DEFAULT.

Since ~2.6.25, the system default memory policy is "local allocation".
MPOL_DEFAULT itself is a request to remove any non-default policy and
"fall back" to the surrounding context.  Try to say that without delving
into implementation details.
2008-08-11 05:11:50 +00:00
Michael Kerrisk fb67fb2902 Fix URI reference for libnuma. 2008-08-11 04:25:50 +00:00
Michael Kerrisk 48b3712a7f sync 2008-08-10 20:03:43 +00:00
Michael Kerrisk 47836143f8 BUGS: In glibc 2.3.4 and earlier, an FE_OVERFLOW exception is not
raised when an overflow occurs.
2008-08-10 20:03:27 +00:00
Michael Kerrisk 5625342f8c BUGS: In glibc 2.5, log(nan("")) produces a bogus
FE_INVALID exception.
2008-08-10 19:46:04 +00:00
Michael Kerrisk 15b97c4894 BUGS: In glibc 2.5 and earlier these functions do not raise an
FE_UNDERFLOW exception on underflow.
2008-08-10 19:20:27 +00:00
Michael Kerrisk c6eae0ea4b remove junk text left over from last edit 2008-08-10 19:09:15 +00:00
Michael Kerrisk b71168c23f In glibc 2.3.2 and earlier, these functions do not raise an
FE_INVALID exception for a domain error.
2008-08-10 19:08:31 +00:00
Michael Kerrisk 518e5c3021 spfix 2008-08-10 19:01:03 +00:00
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