Commit Graph

5542 Commits

Author SHA1 Message Date
Michael Kerrisk 03360f97dc mtrace.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:36:14 +02:00
Michael Kerrisk 9c7bd1036e getnameinfo.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk 3747c61417 getaddrinfo.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk ef66113001 fgetpwent.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk 13ce9c8de3 fgetgrent.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk 0ff49055e2 confstr.3: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk 9227137a38 mallopt.3: Minor clarification for M_ARENA_MAX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-19 08:46:15 +02:00
Michael Kerrisk 7655c1839d mallopt.3: Improve description of M_ARENA_TEST
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 18:03:49 +02:00
Michael Kerrisk 8d02a0ab04 mallopt.3: Correct the description of M_ARENA_MAX==0
Reported-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 17:53:29 +02:00
Michael Kerrisk 8e81aad0dc mallopt.3: Document default value for M_ARENA_TEST
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 09:14:27 +02:00
Michael Kerrisk 19557f4043 mallopt.3: Document 0 as default value of M_ARENA_MAX and explain its meaning
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:56:19 +02:00
Michael Kerrisk b075133f9c mallopt.3: Minor fix: relocate some text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:50:45 +02:00
Michael Kerrisk bf5c6199e3 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:50:06 +02:00
Michael Kerrisk ba202ba07f mallopt.3: Note default value of M_PERTURB
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:45:16 +02:00
Michael Kerrisk 8d66586467 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:41:13 +02:00
Michael Kerrisk bb70234f74 mallopt.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:36:18 +02:00
Michael Kerrisk f64cc74595 killpg.2, crypt.3, mbsinit.3, printf.3, rpc.3, ulimit.3, wprintf.3, xdr.3, fd.4, elf.5, group.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk bece031505 mbstowcs.3: wfix
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk 3942b6bcd2 mbstowcs.3, wcstombs.3: Improve language relating to "initial state"
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839705

Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk a8a9227ded wcstombs.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk d411041bd4 errno.3: Add glibc error text for EILSEQ
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840499
and https://sourceware.org/bugzilla/show_bug.cgi?id=20687

Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk e1f3482c04 errno.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk 310717988d errno.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk 2b8600d3f3 pthread_attr_init.3: SEE ALSO: add pthread_setattr_default_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:08:38 +02:00
Michael Kerrisk c09bc8252f pthread_create.3: SEE ALSO: add pthread_setattr_default_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:08:38 +02:00
Michael Kerrisk 57da530191 pthread_setattr_default_np.3: New link to new pthread_getattr_default_np.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:07:28 +02:00
Michael Kerrisk 0925dc68d0 pthread_getattr_default_np.3: New page documenting pthread_getattr_default_np(3) and pthread_setattr_default_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:07:10 +02:00
Michael Kerrisk 696bd2daca mallinfo.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 21:10:26 +02:00
Michael Kerrisk 3c841730e7 mallinfo.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 21:10:01 +02:00
Michael Kerrisk b8efb41432 memusage.1, memusagestat.1, pldd.1, accept.2, adjtimex.2, arch_prctl.2, bdflush.2, bpf.2, close.2, epoll_ctl.2, epoll_wait.2, execve.2, execveat.2, fanotify_init.2, fanotify_mark.2, fcntl.2, fsync.2, get_kernel_syms.2, getdomainname.2, getgroups.2, gethostname.2, getrandom.2, getrlimit.2, getrusage.2, getsid.2, getunwind.2, io_getevents.2, ioctl_fat.2, kexec_load.2, killpg.2, listxattr.2, lseek.2, madvise.2, memfd_create.2, mknod.2, mlock.2, modify_ldt.2, msgctl.2, msgget.2, msgop.2, readlink.2, readv.2, reboot.2, recvmmsg.2, rename.2, request_key.2, restart_syscall.2, sched_setaffinity.2, sched_setattr.2, sched_setparam.2, seccomp.2, select_tut.2, semctl.2, semget.2, semop.2, set_thread_area.2, seteuid.2, setgid.2, setpgid.2, setresuid.2, setreuid.2, setsid.2, setuid.2, shmctl.2, shmget.2, shmop.2, sigaction.2, sigprocmask.2, stat.2, symlink.2, syscall.2, sysctl.2, unlink.2, bindresvport.3, byteorder.3, dlopen.3, endian.3, error.3, ffs.3, fmemopen.3, getcwd.3, getlogin.3, getnetent.3, getprotoent.3, getservent.3, getumask.3, getutent.3, glob.3, isalpha.3, lio_listio.3, login.3, mbsinit.3, mbstowcs.3, mbtowc.3, mkstemp.3, nextup.3, ntp_gettime.3, posix_fallocate.3, posix_spawn.3, pthread_join.3, pthread_rwlockattr_setkind_np.3, random.3, rcmd.3, realpath.3, resolver.3, setjmp.3, setnetgrent.3, sigvec.3, strerror.3, strverscmp.3, system.3, toupper.3, towlower.3, towupper.3, wcstombs.3, wordexp.3, cciss.4, loop.4, mouse.4, random.4, core.5, group.5, hosts.5, resolv.conf.5, ascii.7, environ.7, epoll.7, glob.7, ip.7, mq_overview.7, packet.7, pipe.7, raw.7, sched.7, signal.7, socket.7, symlink.7, ld.so.8, sln.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk 244fccdddb ffs.3: Correct feature test macro requirements
Reported-by: Stefan Tauner <tauner@technikum-wien.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk 8ff358457d getlogin.3: Update feature test macro requirements for cuserid()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk 750653a812 getrusage.2, madvise.2, memfd_create.2, mlock.2, mount.2, getauxval.3, core.5, capabilities.7, pid_namespaces.7, symlink.7, user_namespaces.7: Consistently use /proc/[pid] (not /proc/PID)
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 22:47:23 +02:00
Michael Kerrisk fdcc06eeb1 wcstombs.3: wcsrtombs() does not provide thread-safe interface to same functionality
As noted in the Debian bug:

In "man wcstombs" the words

    The function wcsrtombs(3) provides a thread safe interface to
    the same functionality.

should be changed to

    The function wcsrtombs(3) provides a better interface to
    the same functionality.

Because

1) wcsrtombs is not thread safe if "ps" is NULL (see "ATTRIBUTES"
   in "man wcsrtombs")

2) wcstombs *is* thread safe (see "ATTRIBUTES" in "man wcstombs")

3) "man mbstowcs" says "The function mbsrtowcs(3) provides a
   better interface to the same functionality." in the same
   NOTES section.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741360

Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk 49d2adfabd wcsrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk db59590e7d wcstombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk fb22911618 getumask.3: Point to umask(2) for a thread-safe way to discover process's umask
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk 48523e3415 getumask.3: f
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk 8268760d77 getumask.3: Note that getumask() is still unavailable in glibc 2.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk 348348b1d2 dlopen.3: dlmopen() is still broken in glibc 2.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 12:46:10 +02:00
Michael Kerrisk ed1ba8a5eb bindresvport.3, rcmd.3, ip.7: Note user namespace requirements for CAP_NET_BIND_SERVICE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-12 20:34:22 +01:00
HuKeping 794d8db3ab rtnetlink.3: tfix
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-09-09 07:23:18 +01:00
Michael Kerrisk 46305699f7 pthread_join.3: Note that the caller might do clean up after joining with a thread
Reported-by: Mats Wichmann <mats@wichmann.us>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-31 07:23:08 +12:00
Michael Kerrisk 1f73bfaf6e strverscmp.3: Add an example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-31 07:23:03 +12:00
Michael Kerrisk 919b0ce050 pthread_join.3: Clarify use of 'retval' pointer
Reported-by: 王守堰 <wangshouyan@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-29 09:56:47 +12:00
Ruben Kerkhof 48bafe7c02 readdir_r(3): tfix: Fix reference to readdir(3) 2016-08-28 16:38:31 +12:00
Michael Kerrisk efcf47adbd makedev.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-18 09:59:24 +12:00
Ray Bellis 519303a6a4 resolver.3: Correct arguments to res_ninit(res_state statep)
The man page for res_ninit() incorrectly says that it takes no
parameters, when in fact (and indeed according to the same page
further down) it has to take a res_state parameter.
2016-08-12 07:14:42 +12:00
Michael Kerrisk a9672faabc fmemopen.3: Remove bogus suggestion to use setbuffer()
As Rich Felker comments:

    The stdio buffer associated with the fmemopen-obtained FILE,
    and the output memory buffer into which it's writing, are
    conceptually distinct entities, and there is no reason to
    expect reasonable results if you modify the contents of a
    setvbuf-associated buffer through other means while it's
    associated with a FILE.

See http://stackoverflow.com/questions/38854163/using-rewind-on-a-file-opened-with-fmemopen

Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-12 07:14:42 +12:00
Michael Kerrisk afdd425e68 towlower.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk 9f7a5b0e57 sigset.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk 119a385181 resolver.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk fca8d7eb25 readdir_r.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk 95183c2e0a dlinfo.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk 53c9ce2def towupper.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 909eb7e97a towlower.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk bdec6fb099 strerror.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 84f6b0672e sigvec.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 7c8c6f2da9 pthread_rwlockattr_setkind_np.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 9c78ec5b5c posix_spawn.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 355b6107b4 ntp_gettime.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 2443152c7b nextup.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk ec0f3c469d isalpha.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 82bd66b8b6 dlopen.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk ca38b869e5 wcstombs.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk e8b81d3405 wcstombs.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk ea7378c307 toupper.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk c0f12d150f system.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 0125c2578d random.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk be4653091b pthread_setaffinity_np.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 2e94784dd0 mbtowc.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 68d316001d mbstowcs.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 13bc1e7875 mbsinit.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk dd18a3b676 isalpha.3: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 95e77601fc confstr.3: Minor fix-ups in SEE ALSO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 66ced968fe realpath.3: Order ERRORS alphabetically
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 3fe3c87e65 posix_fallocate.3: Order ERRORS alphabetically
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 6b0d93ef13 lio_listio.3: Order ERRORS alphabetically
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk 48f9dd5975 getcwd.3: Order ERRORS alphabetically
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk bf7bc8b898 arch_prctl.2, execveat.2, fanotify_mark.2, fcntl.2, fork.2, madvise.2, mknod.2, mmap.2, modify_ldt.2, mount.2, open.2, prctl.2, ptrace.2, restart_syscall.2, seccomp.2, semop.2, set_thread_area.2, symlink.2, umount.2, unlink.2, error.3, getnetent.3, getprotoent.3, getservent.3, getutent.3, glob.3, login.3, setjmp.3, setnetgrent.3, wordexp.3, epoll.7: Remove section number from page self reference
Fix places where pages refer to the function that they describe
and include a section number in that reference. Such references
cause some HTML-rendering tools to create self-references in the
page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:12 +10:00
Quentin Rameau c6785202b0 mkstemp.3: Fix _POSIX_C_SOURCE value for mkstemp()
The correct _POSIX_C_SOURCE value has always been 200809L,
not 200112L.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-04 08:15:25 +10:00
Michael Kerrisk cdff989b46 endian.3: SEE ALSO: add bswap(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk b1bc4fd1ab byteorder.3: SEE ALSO: add bswap(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk 70811de458 bswap_64.3: New link to new bswap.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk 3dedc90a6e bswap_32.3: New link to new bswap.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk e032ad6e7e bswap_16.3: New link to new bswap.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk 9f0b7bd6b0 bswap.3: New page documenting bswap_16(), bswap_32(), and bswap_64()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk 2ae96e8ae8 Removed trailing white space at end of lines 2016-07-17 18:10:19 +02:00
Michael Kerrisk 3df541c0e6 ldd.1, localedef.1, add_key.2, chroot.2, clone.2, fork.2, futex.2, get_mempolicy.2, get_robust_list.2, getitimer.2, getpriority.2, ioctl.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kcmp.2, kill.2, lookup_dcookie.2, mmap.2, mount.2, open.2, pciconfig_read.2, perf_event_open.2, prctl.2, process_vm_readv.2, ptrace.2, quotactl.2, recv.2, setfsgid.2, setfsuid.2, sysinfo.2, umask.2, umount.2, unshare.2, utimensat.2, wait.2, assert.3, fmax.3, fmin.3, getauxval.3, inet_pton.3, malloc_hook.3, memmem.3, mkdtemp.3, mktemp.3, printf.3, strcasecmp.3, strcat.3, strtoul.3, strxfrm.3, console_codes.4, console_ioctl.4, lirc.4, tty.4, vcs.4, charmap.5, elf.5, locale.5, proc.5, repertoiremap.5, utmp.5, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, credentials.7, feature_test_macros.7, iso_8859-1.7, iso_8859-15.7, iso_8859-5.7, koi8-r.7, koi8-u.7, man-pages.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, unix.7, user_namespaces.7, utf-8.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-17 18:10:19 +02:00
Michael Kerrisk e732a1c21d nextdown.3, nextdownf.3, nextdownl.3, nextupf.3, nextupl.3: New links to nextup(3) 2016-07-16 11:20:55 +02:00
Michael Kerrisk ab472b501a nextup.3: Add thread-safety markings
Based on code inspection and glibc manual mark-up.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-16 11:20:55 +02:00
Michael Kerrisk c484406d06 nextup.3: New page documenting nextup(), nextdown(), and related functions 2016-07-15 23:53:08 +02:00
Cownie, James H 7e318d44a1 getauxval.3: Minor fix to AT_HWCAP text
Reported-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-14 08:43:01 +02:00
Michael Kerrisk 291415ef4a getauxval.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-12 22:24:22 +02:00
Cownie, James H 063bf5a777 getauxval.3: Correct AT_HWCAP result description
The getauxval(3) man page describes the result for AT_HWCAP as
"A pointer to a multibyte mask of bits", however the actual value
returned is not a pointer, but simply the first 32 bits of the
capabilities mask.

This can be observed directly. Note the value shown for AT_HWCAP
is a 32 bit value that is not a pointer (see AT_PHDR or AT_RANDOM
for how pointers are shown).

% LD_SHOW_AUXV=1 cat < /dev/null
AT_SYSINFO_EHDR: 0x7fffe89fe000
AT_HWCAP:        bfebfbff
AT_PAGESZ:       4096
AT_CLKTCK:       100
AT_PHDR:         0x400040
AT_PHENT:        56
AT_PHNUM:        9
AT_BASE:         0x0
AT_FLAGS:        0x0
AT_ENTRY:        0x402634
AT_UID:          515
AT_EUID:         515
AT_GID:          114
AT_EGID:         114
AT_SECURE:       0
AT_RANDOM:       0x7fffe8917be9
AT_EXECFN:       /usr/bin/cat
AT_PLATFORM:     x86_64
2016-07-12 22:23:29 +02:00
Michael Kerrisk 1d360c2637 strxfrm.3: Remove NOTES section
strxfrm() and strncpy() are not precisely equivalent in the
POSIX locale, so this NOTES section was not really correct.

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

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-07 13:44:50 +02:00
Michael Kerrisk 74714ea895 ctime.3, error.3, getmntent.3, getnetent_r.3, getrpcent_r.3, getservent_r.3, pthread_attr_init.3, pthread_getattr_np.3, pthread_tryjoin_np.3, rpc.3, setaliasent.3, setenv.3, unlocked_stdio.3: srcfix: Eliminate some groff warnings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-26 11:25:22 +02:00
Michael Kerrisk 0b5ff3b662 fmax.3, fmin.3: SEE ALSO: add fdim(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-22 12:10:46 +02:00
Michael Kerrisk c545391400 strtoul.3: SEE ALSO: add a64l(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-22 12:04:15 +02:00
Michael Kerrisk b2f0984e04 strcat.3: Add a program that shows the performance characteristics of strcat()
In honor of Joel Spolksy's visit to Munich, let's start educating
Schlemiel The Painter.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-21 13:55:09 +02:00