Commit Graph

4013 Commits

Author SHA1 Message Date
Michael Kerrisk 0102b0ab21 Noted that POSIX.1 leaves interactions with alarm(), sleep(),
and usleep() unspecified.
Linux 2.6.16 removed the MAX_SEC_IN_JIFFIES ceiling on timer values.
Other minor changes.
2008-06-23 10:28:23 +00:00
Michael Kerrisk b81087ab66 Added .\" comment 2008-06-23 10:00:02 +00:00
Michael Kerrisk 8964c1a227 spfix 2008-06-23 09:56:09 +00:00
Michael Kerrisk 80677b3dbe sync 2008-06-23 09:42:51 +00:00
Michael Kerrisk b0040075af Remove crufty discussion of HZ, and replace with a pointer to time(7).
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485636
Replace mentions of "process' by "thread".
NOTES: describe case where clock_nanosleep() can be preferable.
NOTES: describe CLOCK_REALTIME versus CLOCK_NANOSLEEP
See also http://thread.gmane.org/gmane.linux.kernel/696854/
"nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME?"
Some minor rewrites.
2008-06-23 09:41:18 +00:00
Michael Kerrisk 46f14bc7b0 Added some details about where jiffies come into play.
Added section on high-resolution timers.
Mentioned a few other time-related interfaces at various points in the page.
2008-06-23 09:19:45 +00:00
Michael Kerrisk 1d7c4d16b2 SEE ALSO: add time(7) 2008-06-23 08:48:25 +00:00
Michael Kerrisk aadbd6f90a sync 2008-06-23 06:01:06 +00:00
Michael Kerrisk 364008baa4 tfix 2008-06-23 06:00:09 +00:00
Michael Kerrisk 7042009b7c tweaks 2008-06-22 13:15:34 +00:00
Michael Kerrisk c8e9f4f193 user time includes guest time. 2008-06-22 10:51:59 +00:00
Michael Kerrisk afef1764bd spfix 2008-06-22 10:40:48 +00:00
Michael Kerrisk 1bb54c6c2d spfix 2008-06-22 10:40:34 +00:00
Michael Kerrisk 194f4ccb72 Document the GNU 'a' modifier for dynamically allocating strings.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487254.
Document the GNU 'm' modifier for dynamically allocating strings.
2008-06-22 10:35:40 +00:00
Michael Kerrisk 46bbbb3519 .\" comment fix 2008-06-22 08:36:06 +00:00
Michael Kerrisk 646af540e4 Add an ERRORS section documenting at least some of the errors
that may occur for scanf().
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487254.
2008-06-22 08:35:24 +00:00
Michael Kerrisk c246714df1 The longstanding bug that if delta was NULL, olddelta didn't return the
outstanding clock adjustment, is now fixed (since glibc 2.8 + kernel 2.6.26).
http://sourceware.org/bugzilla/show_bug?id=2449
http://bugzilla.kernel.org/show_bug.cgi?id=6761
2008-06-22 05:20:51 +00:00
Michael Kerrisk cb772f766a Rewrote various pieces, and added some details. 2008-06-22 02:01:50 +00:00
Michael Kerrisk a64c6ae1fb s/AIO request blocks/AIO control blocks/ 2008-09-18 12:30:46 +00:00
Michael Kerrisk 84db13a46f Document ENOSYS error, which can occur if kernel was built
without CONFIG_PRINTK.
2008-09-18 12:30:45 +00:00
Michael Kerrisk e7dfa844ec tweaks 2008-09-18 12:30:45 +00:00
Michael Kerrisk bddd0b2edc Alphabetize SEE ALSO. 2008-09-18 12:30:44 +00:00
Michael Kerrisk 14c069537c Document guest (virtual CPU) time field in /proc/stat.
Document guest (virtual CPU) time fields in /proc/PID/stat.
2008-09-18 12:30:43 +00:00
Michael Kerrisk cfd8e328ea Minor tweaks 2008-09-18 12:30:43 +00:00
Michael Kerrisk 7d06c53726 sync 2008-09-18 12:30:42 +00:00
Michael Kerrisk 26d4d0d6d4 ffix 2008-09-18 12:30:42 +00:00
Michael Kerrisk 8846324af9 Clarify description of 'times' array for utrimes(). 2008-09-18 12:30:41 +00:00
Michael Kerrisk 61792fc66b ffix 2008-09-18 12:30:41 +00:00
Michael Kerrisk 5cbdf286a5 sync 2008-09-18 12:30:40 +00:00
Michael Kerrisk b24ac2ee70 ffix 2008-09-18 12:30:40 +00:00
Michael Kerrisk a3c5b73c67 ffix 2008-09-18 12:30:39 +00:00
Michael Kerrisk 1df2213318 ffix 2008-09-18 12:30:38 +00:00
Michael Kerrisk bf66f9bde2 ffix 2008-09-18 12:30:38 +00:00
Michael Kerrisk 5eab0978cf ffix 2008-09-18 12:30:37 +00:00
Michael Kerrisk 7c40de088e wfix 2008-09-18 12:30:37 +00:00
Michael Kerrisk dbeeb714f1 sync 2008-06-18 20:30:51 +00:00
Michael Kerrisk 24d2f49a4f Describe the unconventional error return provided by the wrapper
function in libaio (and contrast with behavior if the system call
is invoked via syscall(2)).
2008-06-18 20:24:08 +00:00
Michael Kerrisk ddc676f488 Add comment to 'ee_pad' field in structure definition. 2008-06-18 12:57:21 +00:00
Michael Kerrisk 9ed0f08124 Add a Usage subsection that recommends most users to use /dev/urandom,
and emphasizes parsimonious usage of /dev/random.
2008-06-18 10:26:36 +00:00
Michael Kerrisk fb5fd02088 sync 2008-06-18 09:41:37 +00:00
Michael Kerrisk c5565cf1ec minor fixes 2008-06-18 09:41:30 +00:00
Michael Kerrisk 8cacdebdab tstamp 2008-06-18 09:37:15 +00:00
Michael Kerrisk 7eb11a9fe7 formatting and wording improvements 2008-06-18 09:36:55 +00:00
Michael Kerrisk 530f49fe98 sync 2008-06-18 09:17:18 +00:00
Michael Kerrisk 16d2122c01 tfix 2008-06-18 09:10:22 +00:00
Michael Kerrisk 2fadbfb588 For consistency, "fix" cases where aregument of .B or .I was on the following source line. 2008-06-18 08:57:49 +00:00
Michael Kerrisk 7bcd433363 Document DT_LNK (symbolic link) for d_type field.
Reorder DT_ entries alphabetically.
2008-06-18 08:50:55 +00:00
Michael Kerrisk 382d87bd5f Document d_type field; other minor edits. 2008-06-17 21:51:05 +00:00
Michael Kerrisk 602995ec2c Minor wording fixes. 2008-06-17 20:50:39 +00:00
Michael Kerrisk 58f362c32a Document DT_LNK (symbolic link) for d_type field. 2008-06-17 15:32:03 +00:00