Commit Graph

6119 Commits

Author SHA1 Message Date
Andi Kleen 4b34b3e237 cpuid.4: New page for cpuid access device
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 09:42:33 +13:00
Michael Kerrisk d611514893 rpc.3, xdr.3: spfix: s/in-line/inline/ (consistent with majority usage)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 09:23:02 +13:00
Andi Kleen 027ac74c30 msr.4: New page documenting x86 CPU MSR access device
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 08:33:25 +13:00
Michael Kerrisk f5c7f16bf5 proc.5: Document /proc/sysrq-trigger
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 07:04:27 +13:00
Michael Kerrisk 8ea4ea950c mq_notify.3: Document the POSIX.1-2008 optional EINVAL error
POSIX.1-2008 allows an optional EINVAL error if
notification==NULL and the caller is not currently
registered to receive notifications.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-31 05:09:58 +13:00
Michael Kerrisk 3d81b96737 rename.2: Make ENOENT description consistent with POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 15:19:48 +13:00
Michael Kerrisk 0d244df1c1 posix_memalign.3: srcfix: added comment about memalign() for size==0 case 2009-03-30 15:10:42 +13:00
Michael Kerrisk b6dd683a54 posix_memalign.3: Document handling of size==0 case for posix_memalign()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 15:01:48 +13:00
Michael Kerrisk 642ff1cc5e sem_post.3: Document EOVERFLOW error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:55:55 +13:00
Michael Kerrisk 1480fa812e posix_fallocate.3: Document POSIX.1-2001 and POSIX.1-2008 specifications for EINVAL error
See http://bugzilla.kernel.org/show_bug.cgi?id=12919

Reported-by:  Eelco Dolstra <dolstra@tudelft.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:16:38 +13:00
Michael Kerrisk 0c4dba9305 posix_fallocate.3: Clarify that EINVAL also occurs of 'len' *equals* zero
See http://bugzilla.kernel.org/show_bug.cgi?id=12919

Reported-by:  Eelco Dolstra <dolstra@tudelft.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 14:09:17 +13:00
Michael Kerrisk 94cffcd707 ptrace.2: Note use of 'data' for PTRACE_SYS{CALL,EMU} and PTRCAE_*_SINGLESTEP
These operations use the 'data' argument as a signal number,
like PTRACE_CONT.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 13:32:37 +13:00
Michael Kerrisk 48e4cfa0de getgrent.3, getgrnam.3, getpwent.3, getpwnam.3: Note that returned pointer should not be given to free()
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:37:43 +13:00
Michael Kerrisk 03e40141bf getgrent.3: Returned buffer may be statically allocated and overwritten by later calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:21:02 +13:00
Michael Kerrisk f2ac73c7dc getpwent.3: Returned buffer may be statically allocated and overwritten by later calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 12:20:51 +13:00
Michael Kerrisk c34a8ff736 getgrnam.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:57:50 +13:00
Michael Kerrisk 57c1b002d9 getpwnam.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:41:07 +13:00
Michael Kerrisk d6922779df basename.3: Note that pointers returned by these functions should not be freed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:32:52 +13:00
Michael Kerrisk 90eeb47a64 readdir.3: Note that pointer returned by readdir() should not be given to free(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:19:47 +13:00
Amrico Wang 40949ac8b0 proc.5: Document /proc/sys/vm/swappiness
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 11:09:01 +13:00
Michael Kerrisk 67ca98a79b pthread_equal.3: wfix: s/pthread_self/pthread_equal/
Reported-by: Simon Gomizelj <simongmzlg@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 10:44:32 +13:00
Michael Kerrisk c9980d2e56 strerror.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 09:33:27 +13:00
Mike Frysinger c71df6fba0 ptrace.2: only reference <sys/user.h>
The kernel no longer installs linux/user.h, so update
references to sys/user.h.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 09:30:23 +13:00
Michael Kerrisk 8c629c498f rtld-audit.7: Note that multiple libraries in LD_AUDIT doesn't work
This is reportedly fixed in glibc 2.10.
See http://sourceware.org/bugzilla/show_bug.cgi?id=9733

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:48:15 +13:00
Michael Kerrisk 7a1a6b6a75 hier.7: Add description of /srv
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520904

Reported-by: Miike O'Connor <stew@vireo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:39:38 +13:00
Nikanth Karthikesan f6beb9d7ec lockf.3: Update pointer to documentation in kernel source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:27:50 +13:00
Michael Kerrisk 79bb643078 pthread_exit.3: Fix error in DESCRIPTION: s/pthread_create/pthread_exit/
Reported-by: Chunming Chang <cchang@aerohive.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-30 07:17:27 +13:00
Michael Kerrisk 4b9e7a8881 toascii.3: Note why POSIX.1-2008 marks this function obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:55 +13:00
Michael Kerrisk e3a9cc1374 sigset.3: Note APIs that POSIX.1-2008 recommends instead of these obsolete APIs
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 0ae4b67fdd siginterrupt.3: Note that POSIX.1-2008 recommends sigaction() instead
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 3f14817bd4 scalb.3: Note that POSIX.1-2008 recommends scalbln*(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk 867a8f5dfc makecontext.3: Note that POSIX.1-2008 recommends the use of POSIX threads instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk bd314baf09 getcontext.2: Note that POSIX.1-2008 removes the specification of getcontext()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:54 +13:00
Michael Kerrisk ff9fe6df96 isalpha.3: Explain why POSIX.1-2008 marks isascii(3) obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:07:41 +13:00
Michael Kerrisk cbf4eee73f index.3: Note that POSIX.1-2008 recommends strchr(3) and strrchr(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:59 +13:00
Michael Kerrisk aeb2174ae7 gethostbyname.3: POSIX.1-2008 recommends getaddrinfo(3) and getnameinfo(3) instead
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 40e122bbeb getcwd.3: Note that getcwd() should be used instead of the obsolete getwd()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 4aeb80edca ftime.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk fb2d6d3616 gcvt.3: Note that POSIX.1-2008 recommends sprintf(3) instead of this function
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 5a4668117d ecvt.3: Note that POSIX.1-2008 recommends sprintf(3) instead of these functions
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 9e36b352bc ctime.3: Note that POSIX.1-2008 recommends strftime(3) instead of these functions
Reported-by: Jan Engelhardt <jengelh@medozas.de>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk 48cc3d9d8f bcopy.3: Note that POSIX.1-2008 removes specification of bcopy()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk 67bb874245 bsd_signal.3: Note that POSIX.1-2008 recommends sigaction(2) instead of this API
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk b822e47c52 getitimer.2: Note that POSIX.1-2008 recommends POSIX timers API instead of this API
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk 3f372391ea gettimeofday.2: Note that POSIX.1-2008 recommends clock_gettime() instead of this API
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:46 +13:00
Michael Kerrisk ff6db39993 fallocate.2: VERSIONS: glibc support is provided since version 2.10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-13 07:20:09 +13:00
Michael Kerrisk 9e4922f014 armscii-8.7, cp1251.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7: Add explicit character set encoding to first line of source
Nowadays mandb has provision to understand a character set
encoding that is explicitly indicated in the first line
of the source.  As pointed out by Colin Watson, including
such an explicit indication on pages encoded in anything
other than ISO 8859-1 or UTF-8 is useful for man-pages
that aren't shipped in UTF-8.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519209
and for some other background (responded to by Colin Watson
in the above report):
http://thread.gmane.org/gmane.comp.internationalization.linux/6040
("man page encoding", 5 Jul 2005)

Reported-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk fc3c831d6b seekdir.3: SYNOPSIS: Fix type of 'offset' argument: s/off_t/long/
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk 48e39fa763 telldir.3: SYNOPSIS: Fix return type: s/off_t/long/
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk 7c1f78d417 fallocate.2: srcfix: Update FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:32 +13:00