Commit Graph

1394 Commits

Author SHA1 Message Date
Michael Kerrisk 4922b5d50b ffix 2007-12-22 16:46:37 +00:00
Michael Kerrisk 94e9d9febd Replace "-" by "\-" where a real dash is required. 2007-12-22 16:40:46 +00:00
Michael Kerrisk 009df872f7 Format casts so that there is a non-breaking space after the
type, and remove unnecessary parentheses around the casted value.
Thus, for example, the following:

     .IR "(size_t) (\-1)" .

becomes:
    .IR "(size_t)\ \-1" .
2007-12-22 16:26:51 +00:00
Michael Kerrisk 5f414585bc ffix 2007-12-20 12:44:59 +00:00
Michael Kerrisk 30f6523ba5 We can use context FDs for the dirfd argument to the *at() syscalls. 2007-12-20 11:49:17 +00:00
Michael Kerrisk cf94921b75 ffix 2007-12-20 11:25:58 +00:00
Michael Kerrisk 26cf2565db Updated date in .TH line 2007-12-19 07:24:03 +00:00
Michael Kerrisk a6e2f12821 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 07:19:23 +00:00
Michael Kerrisk 088a639be3 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 06:57:44 +00:00
Michael Kerrisk cfadad462c remove superflous white space in text 2007-12-19 06:29:23 +00:00
Michael Kerrisk bd19142309 enclose code smaples/structure defns/etc in ".in +4n / .in" 2007-12-19 06:16:04 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk c1bdeb84c5 Fix typos in argument names; ffixes 2007-12-18 15:59:38 +00:00
Michael Kerrisk 40271293b2 Update date in .TH line 2007-12-18 15:46:06 +00:00
Michael Kerrisk be9634cfdd s/epoch/Epoch/ 2007-12-18 15:37:46 +00:00
Michael Kerrisk 5e27f149be http://marc.info/?l=linux-kernel&m=119447727031225&w=2
Rework the text describing the return value to be closer
to the requirements of POSIX.1; move Linux details
to NOTES and add a warning not to rely on those details.
Add a warning about the -1 to -4095 bug which results
in a 41 second window where the glibc wrapper will wrongly
return -1 indicating an error.

Remove cruft HZ text.

Clarify text describing return value of clock(3).
2007-12-18 15:36:00 +00:00
Michael Kerrisk 2d986c928c Replace `...' with alternate formatting (e.g., ".." or .I) 2007-12-18 07:47:22 +00:00
Michael Kerrisk 92a5f98331 ffix 2007-12-17 17:06:05 +00:00
Michael Kerrisk d2296c225b wfix/ffix 2007-12-17 17:05:09 +00:00
Michael Kerrisk 56d22987d2 Various formatting changes. 2007-12-17 16:43:24 +00:00
Michael Kerrisk fc8d39abe6 Fix date in TH line (s/2005/2007/ which was wrongly changed in 2.63). 2007-12-17 16:25:08 +00:00
Michael Kerrisk 1e50031bf5 spfix 2007-12-17 14:58:18 +00:00
Michael Kerrisk aedcbc663c Update date in .TH line 2007-12-17 14:28:25 +00:00
Michael Kerrisk 882a943574 Clarify that MS_NODIRATIME provides a subset of the functionality provided
by MS_NOATIME.
2007-12-17 14:21:56 +00:00
Michael Kerrisk 14d8dd3ba1 ffix 2007-12-17 11:28:40 +00:00
Michael Kerrisk 0c2b92ba41 Add missing commans in SEE ALSO section. 2007-12-17 11:24:18 +00:00
Michael Kerrisk 9e20ad2440 Minor rewording. 2007-12-17 11:24:05 +00:00
Michael Kerrisk 979c2c91c2 Removed trailing white space at end of lines 2007-12-17 10:22:31 +00:00
Michael Kerrisk 40dedbfef9 ffix 2007-12-16 16:12:44 +00:00
Michael Kerrisk 91443f6c60 ffix 2007-12-16 13:47:37 +00:00
Michael Kerrisk 9091595d88 ffix 2007-12-16 13:13:29 +00:00
Michael Kerrisk 891e16290b ffix 2007-12-16 13:10:53 +00:00
Michael Kerrisk 6c5dedd333 ffix 2007-12-14 17:42:25 +00:00
Michael Kerrisk 2d6cfc1a82 ffix 2007-12-14 14:15:32 +00:00
Michael Kerrisk 722bd1d0fc ffix 2007-12-14 14:13:55 +00:00
Michael Kerrisk 4bd8c61461 ffix 2007-12-14 13:23:07 +00:00
Michael Kerrisk 85c4be5ade s/read system call/input system call/ 2007-12-14 09:14:06 +00:00
Michael Kerrisk 3920c8caf6 Clarify use of mkfifo() versus mknod().
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455825
2007-12-14 07:04:07 +00:00
Michael Kerrisk d3c8f8e2d6 ffix 2007-12-13 20:42:23 +00:00
Michael Kerrisk 90a0494840 ffix 2007-12-13 20:42:14 +00:00
Michael Kerrisk bfd91cc898 wfix 2007-12-11 16:07:33 +00:00
Michael Kerrisk 551d5b7aa5 spfix 2007-12-11 09:31:41 +00:00
Michael Kerrisk 1368e8476d ffix 2007-12-10 15:03:27 +00:00
Michael Kerrisk 65cac33344 s/SETGUID/SETEUID/ in .TH line. 2007-12-10 09:02:09 +00:00
Michael Kerrisk 37cd82ad20 Fix declaration of 'offset' in SYNOPSIS. 2007-12-10 08:49:06 +00:00
Michael Kerrisk 1a329b567a ffix 2007-12-10 07:16:56 +00:00
Michael Kerrisk 173e100104 ffix 2007-12-10 06:31:32 +00:00
Michael Kerrisk 0e92e8cc83 Remove section number from page self ref 2007-12-09 08:30:09 +00:00
Michael Kerrisk a9a13a5057 Format include files consistently (".I <.*\.h>"). 2007-12-09 08:08:53 +00:00
Michael Kerrisk e39138d190 ffix 2007-12-07 19:53:58 +00:00
Michael Kerrisk 5a7e771398 ffix 2007-12-07 19:52:32 +00:00
Michael Kerrisk 6b6da70802 ffix 2007-12-07 19:30:58 +00:00
Michael Kerrisk e2de12c279 ffix 2007-12-05 21:12:53 +00:00
Michael Kerrisk 56ef4d2989 ffix 2007-12-05 14:07:07 +00:00
Michael Kerrisk c7992edccf Removed tabs 2007-12-05 13:47:50 +00:00
Michael Kerrisk 1197dd11de Fix incorrect path for somaxconn. 2007-11-29 21:04:40 +00:00
Michael Kerrisk e17aa4873c ffix 2007-11-29 18:15:54 +00:00
Michael Kerrisk d243a27fd8 ffix 2007-11-29 18:07:46 +00:00
Michael Kerrisk ef203e4559 ffix 2007-11-29 17:59:49 +00:00
Michael Kerrisk 7653389dcf wspace cleanup 2007-11-24 10:38:05 +00:00
Michael Kerrisk 5aa7f157d4 Add CONFORMING TO section. 2007-11-24 10:15:53 +00:00
Michael Kerrisk 2777b1caec Remove section numbers for page references where the
reference refers to the page itself.  (This stops man2html
producing links from a page back to itself.)
2007-11-24 10:10:39 +00:00
Michael Kerrisk e201255411 Remove redundant SEE ALSO entry. 2007-11-24 09:32:27 +00:00
Michael Kerrisk 94208b1f4e Remove redundant SEE ALSO entries. 2007-11-24 09:29:05 +00:00
Michael Kerrisk 99d097ae9d Remove redundant SEE ALSO entry. 2007-11-24 09:26:42 +00:00
Michael Kerrisk 2ccfac8b3e Update date in .TH line 2007-11-24 07:49:41 +00:00
Michael Kerrisk 254255afd0 Added comment about PTRACE_{POKE,PEEK}US[E]R spelling. 2007-11-24 07:34:48 +00:00
Michael Kerrisk 8e09de4eb4 wfix 2007-11-24 07:25:34 +00:00
Michael Kerrisk 1931a36642 Remove outdated text about pointer blocks for syscalls that have
more than 5 arguments.
2007-11-24 07:25:05 +00:00
Michael Kerrisk 5c1088731a tfix 2007-11-24 07:06:25 +00:00
Michael Kerrisk d24596d517 Many and various updates and improvements. 2007-11-24 06:55:27 +00:00
Michael Kerrisk 3735227dd5 wfix 2007-11-23 18:01:01 +00:00
Michael Kerrisk f50f6cb5a8 Fix copyright line to include word "Copyright" 2007-11-21 18:22:29 +00:00
Michael Kerrisk 3a16ac7aed ffix 2007-11-21 18:17:59 +00:00
Michael Kerrisk 33c6f37475 Update date in .TH line 2007-11-19 08:12:03 +00:00
Michael Kerrisk 531d750bb3 Update date in .TH line 2007-11-19 08:06:28 +00:00
Michael Kerrisk d61ff56aa8 Add BUGS text noting that the return value from Linux
sched_setschuler() does not conform to POSIX.
2007-11-19 04:24:28 +00:00
Michael Kerrisk 4407d3d81e Handle errors using a custom handle_errror() macro. 2007-11-19 03:34:00 +00:00
Michael Kerrisk 6a578b8823 s/dir(/handle_error(/ 2007-11-19 03:25:26 +00:00
Michael Kerrisk 43ea35457d Add warning that mandatory locking is unreliable. 2007-11-19 01:34:30 +00:00
Michael Kerrisk a406395c86 Add warning that mandatory locking is unreliable. 2007-11-19 01:26:19 +00:00
Michael Kerrisk ea53895cb8 Clarify details in description of file leases.
Minor wording edits.
2007-11-19 01:21:58 +00:00
Michael Kerrisk 71f66746c7 ffix 2007-11-18 07:31:02 +00:00
Michael Kerrisk 276adee157 Add F_GETLEASE under RETURN VALUE. 2007-11-17 06:23:13 +00:00
Michael Kerrisk 90e261f2a3 wfix 2007-11-17 06:13:05 +00:00
Michael Kerrisk facdd3f468 ffix 2007-11-17 05:51:29 +00:00
Michael Kerrisk cedab4493d Removed trailing white space at end of lines 2007-11-17 05:46:09 +00:00
Michael Kerrisk e267688bfa tfix 2007-11-17 05:18:32 +00:00
Michael Kerrisk eb25159b7f Eliminate duplicate blank lines in rendered output. 2007-11-17 04:53:22 +00:00
Michael Kerrisk 527ea91285 Fix name in .TH line. 2007-11-16 06:23:33 +00:00
Michael Kerrisk 38f76cd278 Removed trailing white space at end of lines 2007-11-15 03:28:33 +00:00
Michael Kerrisk a5b9e01508 Update date in TH line 2007-11-15 03:21:33 +00:00
Michael Kerrisk a209ce803c Pretty much a complete rewrite, covering some additional topics.
Moved _syscallN() material to new _syscall(2) page.
2007-10-23 14:40:43 +00:00
Michael Kerrisk 80984672da Removed reference to example in intro(2). 2007-10-23 14:35:04 +00:00
Michael Kerrisk bad3caa42b Added _syscall(2) and intro(2) to SEE ALSO section. 2007-10-23 14:33:34 +00:00
Michael Kerrisk 53780d2eff Created as a new page, by taking the content specific to the _syscall()
macros from intro(2).
2007-10-23 13:21:31 +00:00
Michael Kerrisk b3a7b55e83 Reorder ERRORS sctions alphabetically 2007-10-23 06:21:25 +00:00
Michael Kerrisk 8c55d428e2 Reorder ERRORS alphabetically 2007-10-23 06:15:48 +00:00
Michael Kerrisk 389fe6c8dc ffix 2007-10-22 07:03:56 +00:00
Michael Kerrisk 6a31cfdd74 tfix 2007-10-22 06:55:51 +00:00
Michael Kerrisk 428d352029 s/PTRACE_POKEUSR/PTRACE_POKEUSER/
s/PTRACE_PEEKUSR/PTRACE_PEEKUSER/
2007-10-17 20:49:47 +00:00
Michael Kerrisk 6beb1671d2 tfix/wfix 2007-10-16 19:18:17 +00:00
Michael Kerrisk 7aa32276fa wfix 2007-10-16 19:08:41 +00:00
Michael Kerrisk da62bae1df wfix 2007-10-16 19:07:28 +00:00
Michael Kerrisk 47c20452eb Updated FIXME 2007-10-16 05:50:20 +00:00
Michael Kerrisk eaf7a6918e Linux 2.6.22 added support for PR_SET_UNALIGN. 2007-10-15 18:11:45 +00:00
Michael Kerrisk c5871a7dc1 spfix 2007-10-15 18:05:23 +00:00
Michael Kerrisk 49ec013ce2 Fix version numbers in cross references. 2007-10-14 18:33:54 +00:00
Michael Kerrisk 8b17f282d1 spfix 2007-10-13 20:29:01 +00:00
Michael Kerrisk 1d93c27249 Updated FIXME 2007-10-13 12:51:17 +00:00
Michael Kerrisk 6397da8c48 Add fallocate(2); remove timerfd(2) 2007-10-13 12:42:36 +00:00
Michael Kerrisk 40b89fc71a Removed old FIXMEs 2007-10-13 11:03:52 +00:00
Michael Kerrisk d6c57ce6df ffix 2007-10-12 06:46:45 +00:00
Michael Kerrisk a4f3e8d6a0 tfix 2007-10-12 06:41:27 +00:00
Michael Kerrisk b3f30a82c9 Added <fcntl.h> to SYNOPSIS. 2007-10-08 18:45:41 +00:00
Michael Kerrisk 0f7bde2b5a grfix 2007-10-04 16:02:37 +00:00
Michael Kerrisk b87dcfb900 grfix 2007-10-03 19:56:24 +00:00
Michael Kerrisk fbbfa7ce8a Fix syntax error in example program. 2007-10-03 06:25:23 +00:00
Michael Kerrisk d314dbfda1 ffix 2007-10-03 06:22:00 +00:00
Michael Kerrisk 45cbde66dd tfix 2007-10-03 06:20:17 +00:00
Michael Kerrisk 028f847b00 tfix 2007-10-03 06:19:25 +00:00
Michael Kerrisk 56e0e87ff5 Add text desribing EINVAL error for read(2). 2007-09-27 17:59:11 +00:00
Michael Kerrisk ca313a6891 ffix 2007-09-23 17:26:21 +00:00
Michael Kerrisk 01a734ef2b ffix 2007-09-23 11:41:50 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk fb7339dfa0 Removed trailing white space at end of lines 2007-09-19 21:42:14 +00:00
Michael Kerrisk 8da9ae243a s/sync (3)/sync ()/ 2007-09-19 05:25:00 +00:00
Michael Kerrisk 0d95c3d5c6 wfix 2007-09-18 18:50:44 +00:00
Michael Kerrisk ad3fa0f2a3 ffix 2007-09-18 18:47:32 +00:00
Michael Kerrisk 623c00d49e ffix 2007-09-18 18:43:25 +00:00
Michael Kerrisk aadd727c4f Add text cautioning about use of close() in
multithreaded programs.
2007-09-13 19:38:28 +00:00
Michael Kerrisk 3efbc18c81 Strengthened the warning against using this system call
and note that it may disappear in a future kernel version.
2007-09-13 17:41:38 +00:00
Michael Kerrisk 499f416724 Added description of MSG_CMSG_CLOEXEC (new in 2.6.23). 2007-09-10 04:35:02 +00:00
Michael Kerrisk fe75ec04d3 Added description of O_CLOEXEC (new in 2.6.23) + other
minor fixes for O_DIRECT.
2007-09-10 04:34:20 +00:00
Michael Kerrisk d739f5f8c7 Add text describing limit on total size of argv + evnp,
and changes that occurred with 2.6.23.
Add getopt(3) to SEE ALSO list.
2007-09-10 04:31:59 +00:00
Michael Kerrisk d9a0b2a566 Describes the fallocate() system call, new in 2.6.23. 2007-09-10 04:30:43 +00:00
Michael Kerrisk f3edaabb5d Add text noting that PROT_WRITE may (and on x86 does) imply PROT_READ. 2007-09-10 04:10:36 +00:00
Michael Kerrisk af9c7ff296 Add "#include <stdlib.h>" (to declatre exit(3)) to example program. 2007-09-10 02:44:09 +00:00
Michael Kerrisk 4df883b963 ffix 2007-09-04 06:30:39 +00:00
Michael Kerrisk 8a3ed0f00d ffix 2007-09-01 20:35:26 +00:00
Michael Kerrisk 0f67421e4c Udpdate date in .TH line 2007-09-01 17:30:26 +00:00
Michael Kerrisk 9947a8d79c Update some details on set_zone_reclaim() 2007-09-01 17:29:49 +00:00
Michael Kerrisk 331dcbfb3a Since kernel 2.6.22, Linux setitimer() now conforms to POSIX.1,
giving an EINVAL error for a non-canonical tv_usec value.
2007-08-28 13:15:35 +00:00
Michael Kerrisk cf4224d404 Fixed argument type for BLKGETSIZE. 2007-08-27 13:25:23 +00:00
Michael Kerrisk e2f9e1bed2 ffix 2007-08-27 11:38:36 +00:00
Michael Kerrisk 00045cbb7e Minor edits. 2007-08-27 11:34:07 +00:00
Michael Kerrisk 05c7d833f8 + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ added requirement to link '-lnuma' to synopsis

+ rewrite portions of description for clarification.

+ added all errors currently returned by sys call.

+ removed cautionary note that use of MPOL_F_NODE|MPOL_F_ADDR
  is not supported.  This is no longer true.

+ added mmap(2) to See Also list.
2007-08-27 11:09:06 +00:00
Michael Kerrisk 45ca54fea8 Minor fixes 2007-08-27 11:01:24 +00:00
Michael Kerrisk 73ae0a09ae + changed the "policy" parameter to "mode" through out the
descriptions in an attempt to promote the concept that the memory
  policy is a tuple consisting of a mode and optional set of nodes.

+ added requirement to link '-lnuma' to synopsis

+ rewrite portions of description for clarification.

  ++ clarify interaction of policy with mmap()'d files.

  ++ defined how "empty set of nodes" specified and what this
     means for MPOL_PREFERRED.

  ++ mention what happens if local/target node contains no
     free memory.

  ++ clarify semantics of multiple nodes to BIND policy.
     Note:  subject to change.  We'll fix the man pages when/if
            this happens.

+ added all errors currently returned by sys call.

+ added mmap(2) to See Also list.
2007-08-27 11:01:10 +00:00