Commit Graph

8904 Commits

Author SHA1 Message Date
Eric S. Raymond 34f2dcd07b regex.7: Use table markup rather than unportable tab stops
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:53 +02:00
Eric S. Raymond afa6492577 services.5: Tab stop settings were unused, and would have been unsafe
Example should have been set in constant width already.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:53 +02:00
Eric S. Raymond 362f864c5d rpc.5: Eliminate unsafe use of .ta
It's unwise to count on tab stops being settable on every device a
man page might be rendered to, especially when HTML is one of the
targets.  Instead, use constant-width font and spaces.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:53 +02:00
Eric S. Raymond 95398b5dc0 mdoc.7: \\*q -> \*q - old version rendered OK but was technically wrong
This is a case where doclifter, following [nt]roff's documented
escaping rules more strictly than groff actually does, tripped
over an error that troff tolerates.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Eric S. Raymond 793c8d4f2b mq_overview.7: Replace .in +4/.in with .RS/.RE
This is one of the few places doclifter cannot automatically detect
that this should be done.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Eric S. Raymond eebd1e8b29 icmp.7: Use real table markup for better HTML rendering
Also, properly wrap a display with .nf/.fi.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Eric S. Raymond 2542d1f0cf icmp.7: Use proper table markup to improve HTML rendering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Eric S. Raymond f1a1039a10 getpass.3: Fix some rather garbled list syntax
An .nf/.fi crossed scopes with a .TP, and the .TP had a header but
no body.  (The latter, while technically not broken in troff, is
bad usage and confuses attempts to parse the page.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Yuri Kozlov 276939a6b2 fallocate.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk aeb9b6a6b1 ldd.1, bootparam.7, feature_test_macros.7, inotify.7, man-pages.7, man.7, standards.7, zic.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Reported-by: Petr Gajdos <pgajdos@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk e4a0d6cb39 stpcpy.3, stpncpy.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wctob.3, wcwidth.3, wprintf.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 5049da5bef arch_prctl.2, getpeername.2, getrlimit.2, ioctl_list.2, mmap2.2, mremap.2, sched_setaffinity.2, setup.2, shmop.2, argz_add.3, exec.3, fenv.3, fmtmsg.3, gethostbyname.3, posix_memalign.3, printf.3, scanf.3, sigpause.3, wordexp.3, xdr.3, st.4, tty_ioctl.4: Formatting fix: prevent '*' in declaration or cast wrapping to next line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 46d8df8ea4 strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strfry.3, strftime.3, strlen.3, strnlen.3, strpbrk.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtok.3, strtol.3, strtoul.3, strxfrm.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 022671eb41 acos.3, acosh.3, asin.3, asinh.3, atan.3, atanh.3, cbrt.3, ceil.3, copysign.3, cos.3, cosh.3, cproj.3, erf.3, exp.3, exp2.3, expm1.3, fabs.3, floor.3, fmod.3, frexp.3, isgreater.3, j0.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, modf.3, nextafter.3, pow.3, rint.3, round.3, scalb.3, scalbln.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3, tgamma.3, trunc.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk c994238936 ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, dl_iterate_phdr.3, fnmatch.3, getfsent.3, glob.3, grantpt.3, infnan.3, putgrent.3, setaliasent.3, shm_open.3, stdin.3, ttyS.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 40aa0db03c mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, wcscasecmp.3, wcscat.3, wcscpy.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:46 +02:00
Michael Kerrisk 287bfbdb52 wmemcmp.3, issue.5, motd.5: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 509e20562d msync.2, getusershell.3, full.4, pts.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk c6fa0841a9 time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 42c3e94740 vcs.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Plus other formatting fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 7f63b1e7d7 console_ioctl.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Plus other formatting fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 35cfd37865 getwchar.3, infnan.3, iswalnum.3, iswalpha.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, lsearch.3, mblen.3, mbrlen.3, memmove.3, memset.3, putwchar.3, rewinddir.3, towctrans.3, towlower.3, towupper.3, ungetwc.3, wcschr.3, wcscmp.3, wcscspn.3, wcspbrk.3, wcsrchr.3, wcsspn.3, wctomb.3, wctrans.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, console.4, hd.4, lp.4, mem.4, mouse.4, ram.4, sync.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 173e4d50e7 core.5: Implicitly adding the PID to a core filename was dropped in 2.6.27
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 18299dfc00 bootparam.7: Remove outdated text on LILO and LoadLin
Strike the discussion of LILO and LoadLin, which
are long obsolete, and make a brief mention of GRUB.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604019

Reported-by: Dan Jacobson <jidanni@jidanni.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 1aedd25804 bootparam.7: Fix cross references to init(1) man page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk e57fca5af6 bootparam.7: Minor formatting fixes + fixes to kernel source file paths
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Regid 421405f915 bootparam.7: Remove mention of the deprecated rdev(8)
The deprecated rdev(8) command was removed from util-linux in 2010.
See https://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commit;h=a3e40c14651fccf18e7954f081e601389baefe3fO

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 7b15527b4a bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Andrea Remondini d11f367d1a bootparam.7: Document the 'resume' boot parameter
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7a177ca4e9 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 043ce1b94e proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7fc50d4aca wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7066ef44b8 getopt.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk a2ce40b6ff rpc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk d5a7e77e1d xdr.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk ef800a1862 strxfrm.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7f8e1b170b error.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 3cdbcd0eda strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 32398a624c semctl.2: 'sem_nsems' is 'unsigned long' since Linux 2.4
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-03 18:44:45 +02:00
Vince Weaver 751c0f1a66 perf_event_open.2: Clarify the perf_event_open() wakeup_events/wakeup_watermark fields
Clarify the perf_event_open() wakeup_events/wakeup_watermark
fields a bit, based on info from kernel commit cfeb1d90a1b1.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk d58522c0bd pthread_create.3: tfix
Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk 7b6de6f689 prctl.2: Note equivalents of PR_SET_NAME
pthread_setname_np() and pthread_getname_np() and
/proc/self/task/TID/comm provide access to the same
attribute.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk c420fde274 prctl.2: Minor wroding fix for PR_SET_NAME
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Vince Weaver 08e325e8d5 perf_event_open.2: Small correction to description of 'flags' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk 89b85ead22 strtok.3: tfix
Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:09 +02:00
Michael Kerrisk ff452e0d6d strtok.3: Add more detail on the operation of strtok()
Add a number of missing details on the operation of strtok()

Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 22:45:32 +02:00
Mike Frysinger 202f5bfb9a syscall.2: Document s390/s390x calling convention
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 20:04:01 +02:00
Adrian Bunk 4906c99219 alloca.3: Correct information on getting non-inlined version with gcc+glibc
- remove the incorrect information that -fno-builtin would help
- add -std=c11 to the list of strict options
- emphasize more that both the gcc option and not including
  alloca.h are needed
- add the #ifdef from the glibc alloca.h to make the situation clearer

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 20:03:42 +02:00
Michael Kerrisk 1aff58045d catgets.3, inotify.7: Clarify that null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk f24e3a3ad9 readdir.2, asprintf.3, getline.3, getlogin.3, pthread_setname_np.3, readdir.3, strerror.3: Clarify that terminating null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00