Commit Graph

6060 Commits

Author SHA1 Message Date
Nicolas François 531178c584 ip.7: Minor fixes
Consistently use the infinitive.
Other typos.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:28 +02:00
Nicolas François 0b8403b824 feature_test_macros.7: Minor fixes
Fix important typos in constant values.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:27 +02:00
Nicolas François 1188776ff7 udp.7: Minor fixes
Grammar and formatting fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:27 +02:00
Nicolas François 7b67ce431a tcp.7: Minor fixes
tcp_congestion_control is not a boolean. The default is explained in the
text. It cannot be enabled by default.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:27 +02:00
Nicolas François 669cf85752 rtld-audit.7: Minor fixes
Wording and formatting fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:27 +02:00
Nicolas François cb0858c7bf pthreads.7: Minor fixes
Grammar fix.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:26 +02:00
Nicolas François b464dbdf47 numa.7: Minor fixes
Spelling and formatting fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:26 +02:00
Nicolas François 9040938e5a resolv.conf.5: Minor fixes
The value itself is capped, not the maximum for this value.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:26 +02:00
Nicolas François 228eac2b6f proc.5: Minor fixes
Formatting fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:26 +02:00
Nicolas François 4cd0814b5c cpuid.4: Minor fixes
Use the same formatting conventions as other manpages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:26 +02:00
Nicolas François 7391478f8b updwtmp.3: Minor fixes
Spelling fix (s/utmp/wtmp/)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 8856a9dc45 readdir.3: Minor fixes
Spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 3849d36538 pthread_getattr_np.3: Minor fixes
Spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 3f1a745d44 timer_settime.2: Minor fixes
Fix typos:
 * duplicate the
 * curr_value is a pointer
 * misplaced 'a'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François 37f0c8322e timer_create.2: Minor fixes
Add missing parenthesis
Explicitly indicate that conditions are ORed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François ec28c6b988 stat.2: Minor fixes
Fix to formatting issues:
 * remove ending tabulation
 * add missing parenthesis

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François b6a046323e set_thread_area.2: Minor fixes
set_thread_area is a system call, not a library function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François dc99a2a724 select_tut.2: Minor fixes
Wording and spelling fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François c9065be1c4 sched_setaffinity.2: Minor fixes
Consistency for references to manpages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 22e7039097 recv.2: Minor fixes
Fix some formatting typos
 * the period should be in Roman font
 * .RP does not exist, it should be .RB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François 073161a3f0 mount.2: Minor fixes
There was too many verbs in the last part of the sentence.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:24 +02:00
Nicolas François ced55c9139 mbind.2: Minor fixes
there should be no commas here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 2c1c0a319a get_thread_area.2: Minor fixes
get_thread_area.2 is a system call.
Other manpages seems to differentiate functions (i.e. (g)lib(c) functions)
and system calls. This make it more consistent.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5c03d6b181 get_mempolicy.2: Minor fixes
There should be no comma here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François f7bf69adcc getdents.2: Minor fixes
2 typos:
 * Wrong end of comments
 * etx3 should be ext3

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 5541fa5210 fcntl.2: Minor fixes
Just a formatting typo.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 8ce39f8681 clone.2: Minor fixes
"PID namespace" is what is new.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:23 +02:00
Nicolas François 4b200bd5f8 pthread_attr_setstack.3: Minor fixes
* pthread_attr_setstacksize was cut&pasted.
* The stacksize argument can be compared to PTHREAD_STACK_MIN, not the
  stackaddr address.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas François 6316fce396 pthread_getcpuclockid.3: Minor fixes
Looking at the man page, this is not a family of functions.
So "returns" is right, "functions" should be "function".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas François 13d4996f47 icmp.7: Minor fixes
A .IR is more consistent with others items in the list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas François bf4cfa6627 man3/opendir.3, pthread_attr_setaffinity_np.3, man3/pthread_setaffinity_np.3: Minor fixes
The word "function" is missing (or "The" should be removed?).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Nicolas François 5113b11a03 epoll_ctl.2: tfix: This patch fixes a formatting typo.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk 5bbdbc7e92 mq_overview.7: Change documented ranges for msg_max and msgsize_max
Linux 2.6.28 changed the permissible ranges for
these /proc files.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk 76a34baa39 mmap.2: Add brief documentation of MAP_HUGETLB
This flag is new in 2.6.32, and serves a similar
purpose to the shmget() SHM_HUGETLB flag.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Christoph Hellwig 015221eff8 open.2: add some comments on O_SYNC and friends
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk aec4704f6d exit.3: Add a pointer to explanation of orphaned process groups in setpgid(2)
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk a38dc43a2d setpgid.2: Add an explanation of orphaned process groups
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk 2a4b81ffd4 setenv.3: Improve ERRORS section
Add ENOMEM error; improve EINVAL description. Also, make
RETURN VALUE section a little more accurate in its mention
of errno.

Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk c451761395 proc.5: dmesg is in section 1, not section 8
Reported-by: Siward de Groot <siward@ziggo.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk 6b34fb3f5a execve.2, pipe.2, tee.2, fmemopen.3, mq_notify.3, qsort.3: Replace use of assert() by code that checks argc
See http://bugzilla.kernel.org/show_bug.cgi?id=13569

As noted by Andrey:
The purpose of the assert macro, defined in <assert.h>,
is to provide a tool to check for programming mistakes
or program logic errors. However, the assert macro must
never be used to perform checks for run time errors,
since, with the NDEBUG macro defined, expressions within
the assert macro invocations are not evaluated/checked
for, resulting in behavior that was not originally intended.
...
The pages affected in the core package are

execve(2)
pipe(2)
tee(2)
fmemopen(3)
mq_notify(3)
qsort(3)

Reported-by: Andrey Vihrov <vihrov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk ed35aae690 printf.3: wfix
Reported-by: Aaron Gardner <aaron.j.gardner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk 3392d76d6f kill.2: wfix: add missing word to NOTES
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543686.

Reported-by: Marc Lehmann <debian-reportbug@plan9.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mike Frysinger e8418d6da8 getmntent.3: setmntent() argument is 'filename' not 'fp'
The description of setmntent() formerly used the wrong
argument name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk d8dfbff93f poll.2: Clarify wording describing of 'nfds' argument.
reported by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mark Hills 52520fb570 splice.2, tee.2, vmsplice.2: Fix return type
Since glibc 2.7, the return type for these functions
is ssize_t (formerly it was long).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk 19f56c70d3 getaddrinfo.3: wfix: s/result/res/ in text describing argument
Reported-by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk add478c172 getaddrinfo.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk f9d5775ff8 getaddrinfo.3: Note nonstandard assumed hints.ai_flags value when hints is NULL
When hints is NULL, glibc assumes hints.ai_flags is
AI_V4MAPPED|AI_ADDRCONFIG whereas POSIX says 0.
According to Ulrich Drepper, glibc's behavior is better.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk 2b64c171eb fflush.3: fflush() discards buffered input
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:13 +02:00
Michael Kerrisk 8749bd1a31 umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11
See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-03 06:07:57 +02:00