Commit Graph

2917 Commits

Author SHA1 Message Date
Michael Kerrisk 44f8986447 __malloc_initialize_hook.3: New link to malloc_hook.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:53:59 +01:00
Cédric Boutillier ad379f3a37 if_nameindex.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-24 03:52:48 +01:00
Mark Hills a1f016851a link.2, mkdir.2, mknod.2, open.2, rename.2, symlink.2, write.2, mkfifo.3: Document EDQUOT error
The return error EDQUOT is not documented in open(2), write(2),
symlink(2) etc..

Whether inodes or disk blocks are required for each function
is something I based on received wisdom and BSD documentation,
rather than tracing the code to the kernel. For symlink(2)
this certainly depends on the file system type.

This patch was previously sent to the linux-man mailing list
as an RFC in September 2010.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 18:56:59 +01:00
Michael Kerrisk b742d43e3d difftime.3: Remove crufty text about 'time_t' on "other systems"
Back in 2006, some text came in via Debian patches that seems
crufty. Remove it.

See https://bugzilla.kernel.org/show_bug.cgi?id=46731

Reported-by: Michal Gorny <mgorny@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:44:19 +01:00
Michael Kerrisk e6d86b417f Removed trailing white space at end of lines 2012-12-20 18:17:09 +01:00
Michael Kerrisk cd56c2fce6 wait.2, ttyname.3, undocumented.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 18:12:45 +01:00
Michael Kerrisk 35d740b95e mkstemp.3: Deemphasize discussion of mode 066 in glibc 2.0.6
Glibc 2.0.6 is now so ld that the discussion of details
of that version can be deemphasized placing just under
NOTES.

See https://bugzilla.kernel.org/show_bug.cgi?id=51811

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-20 16:22:58 +01:00
Michael Kerrisk 72c902609e sysconf.3, cciss.4: Global fix: s/runtime/run time/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-17 22:01:43 +01:00
Michael Kerrisk 12770b9757 if_indextoname.3: New link to if_nametoindex.3:
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:49:05 +01:00
Michael Kerrisk e8a16dbb96 if_nametoindex.3: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:49:05 +01:00
YOSHIFUJI Hideaki 2a5e7b351f if_nametoindex.3: New page documenting if_nametoindex(3) and if_indextoname(3)
References:
    RFC 3542

    POSIX Man Page Set
        http://www.unix.com/man-page/POSIX/3posix/if_indextoname
        http://www.unix.com/man-page/POSIX/3posix/if_nametoindex

    OS X Developer Tools Manual Page
        http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man3/if_nameindex.3.html

    Source: sysdeps/unix/sysv/linux/{if_index.c,ifaddrs.c}

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:58 +01:00
Michael Kerrisk f2b5a96993 if_nameindex.3: Fix printf() specifier in example program
Reported-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:57 +01:00
Michael Kerrisk 08afc5acf2 undocumented.3: Remove some now documented functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:57 +01:00
Michael Kerrisk 8b931bbdc4 if_nameindex.3: Add an example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:57 +01:00
Michael Kerrisk 7fd06e7dd4 if_nameindex.3: Edits, improvements and corrections to Hideaki's page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:57 +01:00
Michael Kerrisk a54e254c41 if_freenameindex.3: New link to if_nameindex.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:57 +01:00
YOSHIFUJI Hideaki 79bfe3d8cf if_nameindex.3: Document if_nameindex(3) and if_freenameindex(3)
References:
    RFC 3542

    POSIX Man Page Set
        http://www.unix.com/man-page/POSIX/3posix/if_indexname
        http://www.unix.com/man-page/POSIX/3posix/if_freeindexname

    OS X Developer Tools Manual Page
    http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man3/if_nameindex.3.html

    Source: sysdeps/unix/sysv/linux/{if_index.c,ifaddrs.c}

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-14 17:48:48 +01:00
Mike Frysinger 784a11da36 exec.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 08:35:34 +01:00
Michael Kerrisk 1113a8fcc1 strcmp.3: Enhance RETURN VALUE text and remove redundant text from DESCRIPTION
Note that sign of result equals sign of difference between
first two bytes that differ (treated as "unsigned char")."

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk 3b5b9fd8b5 memcmp.3: Enhance RETURN VALUE text and remove redundant text from DESCRIPTION
Note that sign of result equals sign of difference between
first two bytes that differ (treated as "unsigned char")."

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-27 07:49:59 +01:00
Michael Kerrisk 4fb45673f8 rpc.3: ffix 2012-11-16 13:07:29 +01:00
Michael Kerrisk 2ff4446136 fopen.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-16 13:06:31 +01:00
Michael Kerrisk 06f38b2f30 confstr.3: ffix 2012-11-16 13:05:49 +01:00
Michael Kerrisk bbeb81bdf3 getifaddrs.3: Update description of ifa_data to Linux 2.6+ reality
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526778

Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 13:02:28 +01:00
Michael Kerrisk 4bcf05347c ttyname.3: Fix confused text in ERRORS
The existing text suggested that the ERRORS applied
only for ttyname_r(). However, 2 of the 3 errors
can occur for ttyname().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 11:57:30 +01:00
David Prévot 1e4a9e188a getauxval.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 08:57:52 +01:00
David Prévot 80380b8e1b getenv.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-09 06:54:20 +01:00
Michael Kerrisk fa1d274987 Removed trailing white space at end of lines 2012-11-07 14:24:27 +01:00
Michael Kerrisk 8b38565c7b getenv.3: SEE ALSO: add getauxval(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:04:34 +01:00
Michael Kerrisk 4946106cae getauxval.3: Document getauxval() function added in glibc 2.16
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-07 13:02:54 +01:00
Michael Kerrisk fb759ff43d clock_getcpuclockid.3: Linking with -lrt is no longer needed from glibc 2.17 onward
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-29 09:27:10 +01:00
Simon Paillard 86be5cf6f9 fts.3: Improve description of physical vs. logical tree walking
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633505

Reported-by: James Youngman <jay@gnu.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-25 12:33:53 +02:00
Michael Kerrisk f68512e9fe intro.1, add_key.2, get_mempolicy.2, get_thread_area.2, intro.2, keyctl.2, mbind.2, request_key.2, set_thread_area.2, clock.3, cmsg.3, getcwd.3, getpw.3, intro.3, malloc.3, posix_memalign.3, shm_open.3, sleep.3, sysconf.3, intro.4, sd.4, intro.5, locale.5, slabinfo.5, intro.6, boot.7, bootparam.7, futex.7, glob.7, hier.7, intro.7, libc.7, locale.7, mq_overview.7, netlink.7, sem_overview.7, shm_overview.7, unix.7, intro.8: Global fix: Use consistent capitalization in NAME section
The line(s) in the NAME section should only use capitals
where English usage dictates that. Otherwise, use
lowercase throughout.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:48 +02:00
Michael Kerrisk 7fac88a949 eventfd.2, futex.2, mmap2.2, open.2, pciconfig_read.2, ptrace.2, reboot.2, request_key.2, sched_rr_get_interval.2, splice.2, stat.2, sync_file_range.2, syscalls.2, timer_create.2, vm86.2, pthread_attr_setscope.3, core.5, proc.5, aio.7, futex.7, netlink.7, time.7: Global fix: "userspace" ==> "user space" or "user-space"
Existing pages variously use "userspace or "user space".
But, "userspace" is not quite an English word.
So change "userspace" to "user space" or, when used
attributively, "user-space".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-24 14:53:33 +02:00
Michael Kerrisk 4eaa04c556 Removed trailing white space at end of lines 2012-10-15 11:13:31 +02:00
Michael Kerrisk cd12460aa0 ttyname.3: SEE ALSO: Add ctermid(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-10-10 11:33:29 +02:00
Michael Kerrisk 31a6818e3c time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Revert 9f8e673e62 (whose global s%\\e%\\\\% caused problems)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-26 23:56:54 +02:00
Michael Kerrisk ca8a0bd25b sched_get_priority_max.2, sched_setparam.2, sched_setaffinity.2, sched_setscheduler.2, timer_create.2, malloc.3, pthread_attr_init.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_getattr_np.3, pthread_cancel.3, pthread_create.3, pthread_setschedparam.3, pthread_setschedprio.3, aio.7, time.7: Global ffix: disable justification and hyphenation in SEE ALSO
For a better visual result, disable justification and hyphenation
in SEE ALSO where page names are long.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 06:39:39 +02:00
David Prévot 6c71aa3cdc pthread_yield.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 05:57:51 +02:00
David Prévot 9e88dbc3f6 pthread_sigmask.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 05:57:31 +02:00
David Prévot 9c3f35c0f7 pthread_kill.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 05:57:15 +02:00
David Prévot 2a91a509c9 mallopt.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 05:56:56 +02:00
David Prévot e60770be40 mcheck.3: srcfix: Remove already fixed FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-25 05:55:34 +02:00
Michael Kerrisk 9f8e673e62 time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Global fix: use \\ rather than \e for literal backslash
Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 10:23:07 +02:00
Michael Kerrisk 66a9882e46 bdflush.2, get_robust_list.2, kexec_load.2, madvise.2, mmap.2, mount.2, prctl.2, query_module.2, rt_sigqueueinfo.2, shmget.2, sigaction.2, syscalls.2, umount.2, malloc.3, hpsa.4, initrd.4, proc.5, bootparam.7, icmp.7, netlink.7, signal.7: Global fix: use "Linux kernel source" consistently
Rather than "kernel source".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 10:02:34 +02:00
David Prévot 173fe7e792 arch_prctl.2, fcntl.2, flock.2, get_robust_list.2, getpriority.2, ioprio_set.2, migrate_pages.2, mmap.2, mremap.2, msync.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, socket.2, subpage_prot.2, unshare.2, btree.3, dbopen.3, dl_iterate_phdr.3, dlopen.3, getnameinfo.3, hash.3, lockf.3, netlink.3, recno.3, rpc.3, xdr.3, cciss.4, console_ioctl.4, hpsa.4, initrd.4, msr.4, rtc.4, st.4, hosts.5, services.5, tzfile.5, aio.7, arp.7, capabilities.7, cpuset.7, feature_test_macros.7, futex.7, inotify.7, ip.7, ipv6.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, math_error.7, netlink.7, packet.7, pthreads.7, raw.7, spufs.7, udplite.7, uri.7, x25.7: Global fix: Various consistency fixes for SEE ALSO
Coauthored-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 09:53:22 +02:00
David Prévot be029488f4 tsearch.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:28 +02:00
David Prévot 8720e679e0 regex.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:23 +02:00
David Prévot 453a26b887 getutent.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-24 07:15:03 +02:00
Yuri Kozlov c0a2871b70 aio_write.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-09-23 15:38:22 +02:00