]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
3 years agomemfd_secret.2: tfix
Jakub Wilk [Fri, 19 Aug 2022 19:08:52 +0000 (21:08 +0200)] 
memfd_secret.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agolandlock_restrict_self.2: tfix
Jakub Wilk [Fri, 19 Aug 2022 19:08:51 +0000 (21:08 +0200)] 
landlock_restrict_self.2: tfix

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agoclang-tidy/config.yaml: Ignore a useless warning
Alejandro Colomar [Wed, 17 Aug 2022 13:31:31 +0000 (15:31 +0200)] 
clang-tidy/config.yaml: Ignore a useless warning

-readability-identifier-length

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agospufs.7: tfix
Alejandro Colomar [Mon, 15 Aug 2022 22:03:15 +0000 (00:03 +0200)] 
spufs.7: tfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agospufs.7: wfix + ffix
Alejandro Colomar [Mon, 15 Aug 2022 21:54:14 +0000 (23:54 +0200)] 
spufs.7: wfix + ffix

Reported-by: Ingo Schwartze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agogetaddrinfo_a.3: actually gnu.cz => gnu.org
наб [Mon, 15 Aug 2022 21:33:49 +0000 (23:33 +0200)] 
getaddrinfo_a.3: actually gnu.cz => gnu.org

Fixes: a2feb3e14f51a0e74daeb6f0217887ca31799967 ("getaddrinfo_a.3:
 gnu.cz => gnu.org")
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agofutex.2, futex.7: {ftp://ftp => https://mirrors}.kernel.org
наб [Mon, 15 Aug 2022 21:33:44 +0000 (23:33 +0200)] 
futex.2, futex.7: {ftp://ftp => https://mirrors}.kernel.org

The former doesn't exist; the latter is the new location with seemingly
compatible data

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agogetaddrinfo_a.3: {ftp.us => mirrors}.kernel.org, likewise for IP
наб [Mon, 15 Aug 2022 21:33:38 +0000 (23:33 +0200)] 
getaddrinfo_a.3: {ftp.us => mirrors}.kernel.org, likewise for IP

Make the address consistent between 128.30.2.36
(some address in MIT space) and 139.178.88.99 (valid, current)

ftp.us.kernel.org EAI_NONAMEs: turn it into mirrors.kernel.org,
because the new text uses 139.178.88.99 which is mirrors.kernel.org

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agomount.2: tfix
Alejandro Colomar [Mon, 15 Aug 2022 21:45:38 +0000 (23:45 +0200)] 
mount.2: tfix

Reported-by: glibg10b <pugonfireyt@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agocgroups.7: Document memory_recursiveprot mount option
Brett Holman [Mon, 8 Aug 2022 21:22:50 +0000 (15:22 -0600)] 
cgroups.7: Document memory_recursiveprot mount option

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agoproc.5: Document idle state in /proc/pid/stat
Brett Holman [Mon, 8 Aug 2022 20:14:05 +0000 (14:14 -0600)] 
proc.5: Document idle state in /proc/pid/stat

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agopoll.2: tfix
Štěpán Němec [Mon, 8 Aug 2022 15:07:46 +0000 (17:07 +0200)] 
poll.2: tfix

Fixes: 0bdda5d08e82 ("poll.2: Note that poll() equivalent code for ppoll() is not quite equivalent")
Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agogetaddrinfo_a.3: gnu.cz => gnu.org
наб [Tue, 2 Aug 2022 17:28:22 +0000 (19:28 +0200)] 
getaddrinfo_a.3: gnu.cz => gnu.org

gnu.cz exists at a different address (but is unreachable there),
and the address we had is an unassigned coolhousing one

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agogetline.3: wfix.
enh [Fri, 29 Jul 2022 20:13:10 +0000 (13:13 -0700)] 
getline.3: wfix.

Clarify in the RETURN VALUE section that it's necessary to free the
buffer, since at least one person missed this up at the start of the
DESCRIPTION.

Signed-off-by: Elliott Hughes <enh@google.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agogetline.3: srcfix.
enh [Fri, 29 Jul 2022 20:13:10 +0000 (13:13 -0700)] 
getline.3: srcfix.

Signed-off-by: Elliott Hughes <enh@google.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agonsswitch.conf.5: Mention subid database
Nikola Forró [Fri, 22 Jul 2022 13:06:33 +0000 (15:06 +0200)] 
nsswitch.conf.5: Mention subid database

shadow-utils use nsswitch.conf for configuring delegation of
subordinate uids/gids.

See also subuid(5) and subgid(5).

Link: https://github.com/shadow-maint/shadow/blob/3ec32f9975f262073f8fbdecd2bfaee4a1d3db48/lib/nss.c
Signed-off-by: Nikola Forró <nforro@redhat.com>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
3 years agolirc.4: document lirc changes in the kernel
Sean Young [Mon, 23 May 2022 08:04:06 +0000 (09:04 +0100)] 
lirc.4: document lirc changes in the kernel

Linux 5.17 makes LIRC_SET_REC_TIMEOUT_REPORTS an no-op and 5.18
introduces LIRC_OVERFLOW. Also some rewording to clarify.

Signed-off-by: Sean Young <sean@mess.org>
[alx: ffix]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agorandom.4: tfix
Alejandro Colomar [Fri, 5 Aug 2022 19:02:29 +0000 (21:02 +0200)] 
random.4: tfix

Reported-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agorandom.4: Update description about O_NONBLOCK flag
GUO Zihua [Wed, 3 Aug 2022 07:45:55 +0000 (15:45 +0800)] 
random.4: Update description about O_NONBLOCK flag

The O_NONBLOCK flag has been ignored since Linux 5.6 and this patch
states this change in man page.

The commit that introduced this change in the Linux kernel is
30c08efec888 ("random: make /dev/random be almost like /dev/urandom")

Signed-off-by: GUO Zihua <guozihua@huawei.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agospufs.7: ffix
Alejandro Colomar [Tue, 2 Aug 2022 15:31:41 +0000 (17:31 +0200)] 
spufs.7: ffix

Use tbl(1) instead of a magic sequence of spaces and tabs to get a
nice formatting.  This fixes the following warnings:

mandoc: man7/spufs.7:748:7: WARNING: tab in filled text
mandoc: man7/spufs.7:748:14: WARNING: tab in filled text
mandoc: man7/spufs.7:748:22: WARNING: tab in filled text
mandoc: man7/spufs.7:748:32: WARNING: tab in filled text
mandoc: man7/spufs.7:748:34: WARNING: tab in filled text

Reported-by: 'make lint-man'
Reported-by: mandoc(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoiovec.3type, regex_t.3type: srcfix
Alejandro Colomar [Mon, 1 Aug 2022 23:07:08 +0000 (01:07 +0200)] 
iovec.3type, regex_t.3type: srcfix

mandoc: man3type/iovec.3type:19:14: STYLE: unterminated quoted argument
mandoc: man3type/regex_t.3type:23:28: STYLE: unterminated quoted argument
mandoc: man3type/regex_t.3type:25:28: STYLE: unterminated quoted argument

Reported-by: 'make lint-man'
Reported-by: mandoc(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoargz_add.3: srcfix
Alejandro Colomar [Mon, 1 Aug 2022 22:49:07 +0000 (00:49 +0200)] 
argz_add.3: srcfix

mandoc: man3/argz_add.3:20:77: STYLE: unterminated quoted argument

Reported-by: 'make lint-man'
Reported-by: mandoc(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agofanotify_init.2, mount_setattr.2: ffix
Alejandro Colomar [Mon, 1 Aug 2022 22:35:56 +0000 (00:35 +0200)] 
fanotify_init.2, mount_setattr.2: ffix

mandoc: man2/fanotify_init.2:332:2: WARNING: skipping paragraph macro: PP empty
mandoc: man2/mount_setattr.2:677:2: WARNING: skipping paragraph macro: PP empty

Reported-by: 'make lint-man'
Reported-by: mandoc(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetgrent_r.3, psignal.3: ffix
Alejandro Colomar [Mon, 1 Aug 2022 22:35:24 +0000 (00:35 +0200)] 
getgrent_r.3, psignal.3: ffix

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoioctl_userfaultfd.2, fanotify.7: ffix
Alejandro Colomar [Mon, 1 Aug 2022 22:35:10 +0000 (00:35 +0200)] 
ioctl_userfaultfd.2, fanotify.7: ffix

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoman-pages.7: ffix
Alejandro Colomar [Mon, 1 Aug 2022 22:23:55 +0000 (00:23 +0200)] 
man-pages.7: ffix

Use tables to represent tables.
Use .EX/.EE to represent a code example.
Use \& to prevent .SS of being interpreted as man(7) source.

an.tmac:man7/man-pages.7:900: style: 5 leading space(s) on input line
an.tmac:man7/man-pages.7:901: style: 5 leading space(s) on input line
an.tmac:man7/man-pages.7:902: style: 5 leading space(s) on input line
an.tmac:man7/man-pages.7:903: style: 5 leading space(s) on input line
an.tmac:man7/man-pages.7:965: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:966: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:967: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:968: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:969: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:970: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:978: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:979: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:980: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:981: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:982: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:983: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:984: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:985: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:986: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:987: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:988: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:989: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:990: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:991: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:992: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:993: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:994: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:995: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:996: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:997: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:1003: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:1004: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:1005: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:1006: style: 4 leading space(s) on input line
an.tmac:man7/man-pages.7:1137: style: 4 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoproc.5: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:57:55 +0000 (23:57 +0200)] 
proc.5: ffix

an.tmac:man5/proc.5:2010: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2011: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2012: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2013: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2014: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2015: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2016: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2017: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2018: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2019: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2020: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2021: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2022: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2023: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2024: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2025: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2026: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2027: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2028: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2029: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2030: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2031: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2032: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2033: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2034: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2035: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2036: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2037: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2038: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2039: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2040: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:2041: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3332: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3333: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3334: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3335: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3336: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3337: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3338: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3339: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3340: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3341: style: 5 leading space(s) on input line
an.tmac:man5/proc.5:3342: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3343: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3344: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3345: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3346: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3347: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3348: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3349: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3350: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3351: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3352: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3353: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3354: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3355: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3357: style: 4 leading space(s) on input line
an.tmac:man5/proc.5:3359: style: 4 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agost.4: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:52:58 +0000 (23:52 +0200)] 
st.4: ffix

an.tmac:man4/st.4:715: style: use of deprecated macro: .HP
an.tmac:man4/st.4:721: style: use of deprecated macro: .HP
an.tmac:man4/st.4:727: style: use of deprecated macro: .HP
an.tmac:man4/st.4:730: style: use of deprecated macro: .HP
an.tmac:man4/st.4:736: style: use of deprecated macro: .HP
an.tmac:man4/st.4:739: style: use of deprecated macro: .HP
an.tmac:man4/st.4:744: style: use of deprecated macro: .HP
an.tmac:man4/st.4:749: style: use of deprecated macro: .HP
an.tmac:man4/st.4:753: style: use of deprecated macro: .HP
an.tmac:man4/st.4:756: style: use of deprecated macro: .HP
an.tmac:man4/st.4:764: style: use of deprecated macro: .HP

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoconsole_codes.4: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:46:17 +0000 (23:46 +0200)] 
console_codes.4: ffix

Reformat .HP paragraphs with .TP and .TQ.

an.tmac:man4/console_codes.4:89: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:91: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:94: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:97: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:101: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:103: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:105: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:107: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:109: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:111: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:113: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:604: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:606: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:608: style: use of deprecated macro: .HP
an.tmac:man4/console_codes.4:610: style: use of deprecated macro: .HP

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agocciss.4: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:37:23 +0000 (23:37 +0200)] 
cciss.4: ffix

an.tmac:man4/cciss.4:100: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:101: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:102: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:103: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:104: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:105: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:106: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:107: style: 4 leading space(s) on input line
an.tmac:man4/cciss.4:281: style: 4 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years ago__setfpucw.3: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:22:25 +0000 (23:22 +0200)] 
__setfpucw.3: ffix

an.tmac:man3/__setfpucw.3:58: style: 5 leading space(s) on input line
an.tmac:man3/__setfpucw.3:59: style: 5 leading space(s) on input line
an.tmac:man3/__setfpucw.3:60: style: 5 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years ago__setfpucw.3: pfix
Alejandro Colomar [Mon, 1 Aug 2022 21:18:51 +0000 (23:18 +0200)] 
__setfpucw.3: pfix

\- is unnecessary here.  As a list enumerator, any character is
good.  Simplify.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agomembarrier.2: ffix
Alejandro Colomar [Mon, 1 Aug 2022 21:15:46 +0000 (23:15 +0200)] 
membarrier.2: ffix

Format the table using tbl(1), to fix the following warnings.

an.tmac:man2/membarrier.2:222: style: 23 leading space(s) on input line
an.tmac:man2/membarrier.2:223: style: 7 leading space(s) on input line
an.tmac:man2/membarrier.2:224: style: 7 leading space(s) on input line
an.tmac:man2/membarrier.2:225: style: 7 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetrlimit.2: srcfix
Alejandro Colomar [Mon, 1 Aug 2022 21:08:53 +0000 (23:08 +0200)] 
getrlimit.2: srcfix

an.tmac:man2/getrlimit.2:246: style: 4 leading space(s) on input line

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetrlimit.2: Use MIN(3)
Alejandro Colomar [Mon, 1 Aug 2022 21:04:32 +0000 (23:04 +0200)] 
getrlimit.2: Use MIN(3)

min() doesn't exist, but MIN(3) exists.  Use it.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agochown.2: srcfix
Alejandro Colomar [Mon, 1 Aug 2022 20:42:15 +0000 (22:42 +0200)] 
chown.2: srcfix

Reported-by: 'make lint-man'
Reported-by: groff(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotimer_settime.2, timerfd_create.2, itimerspec.3type: Document itimerspec in a new...
Alejandro Colomar [Mon, 1 Aug 2022 20:28:49 +0000 (22:28 +0200)] 
timer_settime.2, timerfd_create.2, itimerspec.3type: Document itimerspec in a new page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoioctl_ns.2: EXAMPLES: Add missing include
Alejandro Colomar [Mon, 1 Aug 2022 20:04:49 +0000 (22:04 +0200)] 
ioctl_ns.2: EXAMPLES: Add missing include

Instead of redefining stuff, add the necessary header.

Reported-by: 'make lint-c'
Reported-by: iwyu(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agobyteorder.3: STANDARDS: Simplify
Alejandro Colomar [Mon, 1 Aug 2022 19:45:30 +0000 (21:45 +0200)] 
byteorder.3: STANDARDS: Simplify

No current systems require the inclusion of <netinet/in.h>
anymore.  POSIX.1-2001 has been around for more than 20 years, so
let's simplify.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agobind.2, process_vm_readv.2: EXAMPLES: Add necessary includes and ftm(7)
Alejandro Colomar [Mon, 1 Aug 2022 14:59:39 +0000 (16:59 +0200)] 
bind.2, process_vm_readv.2: EXAMPLES: Add necessary includes and ftm(7)

Reported-by: 'make lint-c'
Reported-by: clang(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years ago.checkpatch.conf, CPPLINT.cfg: Ignore some warnings from 'make lint-c'
Alejandro Colomar [Mon, 1 Aug 2022 14:57:53 +0000 (16:57 +0200)] 
.checkpatch.conf, CPPLINT.cfg: Ignore some warnings from 'make lint-c'

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoVarious pages: EXAMPLES: tfix
Alejandro Colomar [Mon, 1 Aug 2022 14:55:55 +0000 (16:55 +0200)] 
Various pages: EXAMPLES: tfix

Use escape sequences that produce the correct output, suitable for
copy&paste into real C programs.

Reported-by: 'make lint-c'
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoxattr.7: wfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:04 +0000 (13:45 +0200)] 
xattr.7: wfix

(My original intention was to just fix the grammar ("an attribute names
is"), but, on second thought, the whole sentence didn't read very well.)

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agopoll.2: tfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:06 +0000 (13:45 +0200)] 
poll.2: tfix

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosigaction.2: tfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:05 +0000 (13:45 +0200)] 
sigaction.2: tfix

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosyslog.2: tfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:03 +0000 (13:45 +0200)] 
syslog.2: tfix

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agomremap.2: wfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:02 +0000 (13:45 +0200)] 
mremap.2: wfix

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetrlimit.2: tfix
Štěpán Němec [Fri, 29 Jul 2022 11:45:01 +0000 (13:45 +0200)] 
getrlimit.2: tfix

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile: Disable builtin rules and variables
Alejandro Colomar [Sun, 31 Jul 2022 12:19:26 +0000 (14:19 +0200)] 
Makefile: Disable builtin rules and variables

We don't use them at all, so by disabling them, the debug output
of make(1) will be smaller.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile, src.mk, *.mk: Move some definitions to a helper Makefile
Alejandro Colomar [Sat, 30 Jul 2022 19:06:53 +0000 (21:06 +0200)] 
Makefile, src.mk, *.mk: Move some definitions to a helper Makefile

To be able to explicitly include the file with the definitions,
wherever it is needed.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile, cmd.mk, *.mk: Allow using different names for basic commands
Alejandro Colomar [Sat, 30 Jul 2022 18:57:13 +0000 (20:57 +0200)] 
Makefile, cmd.mk, *.mk: Allow using different names for basic commands

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agodist.mk: Create tarballs with a top-level directory
Alejandro Colomar [Sat, 30 Jul 2022 18:31:40 +0000 (20:31 +0200)] 
dist.mk: Create tarballs with a top-level directory

Need to use a trick with sed(1) to avoid tar(1) modifying the
symlinks.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoREADME: man0 is not used anymore
Alejandro Colomar [Sun, 31 Jul 2022 11:20:18 +0000 (13:20 +0200)] 
README: man0 is not used anymore

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosa_family_t.3type, sockaddr.3type: Document sa_family_t
Alejandro Colomar [Fri, 29 Jul 2022 22:29:31 +0000 (00:29 +0200)] 
sa_family_t.3type, sockaddr.3type: Document sa_family_t

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosockaddr.3type, timer_t.3type, void.3type: wfix
Alejandro Colomar [Fri, 29 Jul 2022 22:19:27 +0000 (00:19 +0200)] 
sockaddr.3type, timer_t.3type, void.3type: wfix

Replace "shall" wordings by simpler text, to not resemble a
standards document.

When saying something like "According to POSIX/ISO C, ...", if
the mentioned standard is the same one described in STANDARDS,
remove that text (it is redundant).  However, if ISO C is the
main standard that describes a type, but POSIX applies further
restrictions, keep that text.

Remove pedantic notes that may only be interesting to compiler
writers.

Reported-by: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoptrdiff_t.3type, size_t.3type, time_t.3type, va_list.3type, void.3type: ffix
Alejandro Colomar [Fri, 29 Jul 2022 22:12:34 +0000 (00:12 +0200)] 
ptrdiff_t.3type, size_t.3type, time_t.3type, va_list.3type, void.3type: ffix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoVarious pages: wfix
Alejandro Colomar [Fri, 29 Jul 2022 15:50:35 +0000 (17:50 +0200)] 
Various pages: wfix

Replace "shall" wordings by simpler text, to not resemble a
standards document.

When saying something like "According to POSIX/ISO C, ...", if
the mentioned standard is the same one described in STANDARDS,
remove that text (it is redundant).  However, if ISO C is the
main standard that describes a type, but POSIX applies further
restrictions, keep that text.

Remove pedantic notes that may only be interesting to compiler
writers.

Reported-by: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosysexits.h.3head: Add LIBRARY section
Alejandro Colomar [Fri, 29 Jul 2022 13:32:31 +0000 (15:32 +0200)] 
sysexits.h.3head: Add LIBRARY section

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile, install-man.mk: Support man3head, and remove support for man0
Alejandro Colomar [Fri, 29 Jul 2022 13:11:00 +0000 (15:11 +0200)] 
Makefile, install-man.mk: Support man3head, and remove support for man0

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosysexits.h.3head: Move header page to a new man3head section
Alejandro Colomar [Fri, 29 Jul 2022 12:56:36 +0000 (14:56 +0200)] 
sysexits.h.3head: Move header page to a new man3head section

Use man3head, as other Unix systems already use.
As Ingo said, man0 is not the right place for header files.

Also, this patch does some changes to the page itself:

Expand the SYNOPSIS to have together all of the values.  Also, add
a small comment about the constant (taken from the header file).

Link: <https://lore.kernel.org/linux-man/11110a04-f96b-0d32-53e3-adcce618c543@gmail.com/>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetrlimit.2: RLIMIT_NPROC also ignored for ruid 0
Robert Schneider [Thu, 28 Jul 2022 07:40:56 +0000 (07:40 +0000)] 
getrlimit.2: RLIMIT_NPROC also ignored for ruid 0

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMany pages: Use STANDARDS instead of CONFORMING TO
Alejandro Colomar [Thu, 28 Jul 2022 23:15:17 +0000 (01:15 +0200)] 
Many pages: Use STANDARDS instead of CONFORMING TO

STANDARDS seems to be much more extended than CONFORMING TO.  For
consistency across the whole manual pages corpus, let's try to
unify, by following the most commonly used section name.

On 7/27/22 12:49, Ingo Schwarze wrote:
> Alejandro Colomar wrote on Tue, Jul 26, 2022 at 02:02:56PM +0200:
> > We use CONFORMING TO in Linux.  Don't know why; just history, I guess.
> > See man-pages(7).
>
> Weird.
>
> I failed to find a single instance of "CONFORMING TO" in AT&T UNIX
> (including v6, PWB, v7, 32v, v8, v10, System III, SVR1, SVR2) nor in
> any version of UCB CSRG BSD.  So considering that System V and BSD are
> widely considered the two main original branches of the development
> of Unix-like operating systems and Linux is often considered to have
> drawn inspiration from both, the section name "CONFORMING TO" does
> not appear to be a UNIX thing.  For example, Aeleen Frisch, "Essential
> System Administration", O'Reilly, Cambridge 1995, considers Linux
> as slightly more influenced by 4.3BSD than by System V Release 3.
>
> STANDARDS, on the other hand, is present since 4.3BSD-Reno (June 1990).
>
> 4.3BSD-Reno predates the first version of the Linux kernel by more than
> a year, and the first Linux manual pages probably for longer than that.
>
> So i have no idea where "CONFORMING TO" may have come from.

Scripted change:

$ find man* -type f | xargs sed -i 's/CONFORMING TO/STANDARDS/'

plus a few manual fixes to the following files:

- man2/getrlimit.2
- man3/syslog.3
- scripts/bash_aliases

Reported-by: Ingo Schwarze <schwarze@openbsd.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agogetsid.2: deduplicate getsid(0) case
наб [Thu, 28 Jul 2022 17:57:51 +0000 (19:57 +0200)] 
getsid.2: deduplicate getsid(0) case

The first sentence in
  getsid(0) returns the session ID of the calling process.
  getsid() returns the session ID of the process with process ID pid.
  If pid is 0, getsid() returns the session ID of the calling process.
blames to beginning of git, duplicates the third one,
and doesn't stylistically match current formatting

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoman-pages.7: Document CAVEATS section
Alejandro Colomar [Tue, 26 Jul 2022 11:06:59 +0000 (13:06 +0200)] 
man-pages.7: Document CAVEATS section

CAVEATS is an interesting section.  There's a slight difference
between CAVEATS and BUGS.  We usually have a hard time fitting
what would go into CAVEATS into other sections (usually BUGS and
NOTES); it would be easier if we had the section.  Let's add it.

This section has been used in manual pages by authors from a wide
range of projects including AT&T, Korn shell, Perl, GNU and BSD
since the early 1980s.  Using the section was first officially
recommended in 2002 by the file </usr/share/misc/mdoc.template> in
NetBSD and OpenBSD.

Reported-by: Ingo Schwarze <schwarze@usta.de>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agostrsignal.3: fix str(d)abbrev typo
наб [Tue, 26 Jul 2022 17:53:38 +0000 (19:53 +0200)] 
strsignal.3: fix str(d)abbrev typo

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoman-pages.7: The linker flag is not always necessary
Alejandro Colomar [Fri, 22 Jul 2022 18:39:48 +0000 (20:39 +0200)] 
man-pages.7: The linker flag is not always necessary

See for example pages for types

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoman-pages.7: Document LIBRARY section
Alejandro Colomar [Fri, 22 Jul 2022 14:58:06 +0000 (16:58 +0200)] 
man-pages.7: Document LIBRARY section

Reported-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosize_t.3type: tfix
Alejandro Colomar [Fri, 22 Jul 2022 00:49:13 +0000 (02:49 +0200)] 
size_t.3type: tfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoregex_t.3type, regmatch_t.3type, regoff_t.3type, system_data_types.7: Move regex_t...
Alejandro Colomar [Fri, 22 Jul 2022 00:44:20 +0000 (02:44 +0200)] 
regex_t.3type, regmatch_t.3type, regoff_t.3type, system_data_types.7: Move regex_t, regmatch_t, and regoff_t to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agostat.3type, system_data_types.7: Move stat to a separate page
Alejandro Colomar [Fri, 22 Jul 2022 00:26:15 +0000 (02:26 +0200)] 
stat.3type, system_data_types.7: Move stat to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agobash_aliases: man_gitstaged(): Never show dirs
Alejandro Colomar [Thu, 21 Jul 2022 23:44:05 +0000 (01:44 +0200)] 
bash_aliases: man_gitstaged(): Never show dirs

Directories are obvious also for scripts, or other non-man(7)
files.  Also, this adds support for man3type and man2type pages.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotimer_t.3type, system_data_types.7: Move timer_t to a separate page
Alejandro Colomar [Thu, 21 Jul 2022 23:41:47 +0000 (01:41 +0200)] 
timer_t.3type, system_data_types.7: Move timer_t to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile: Remove unused variables
Alejandro Colomar [Thu, 21 Jul 2022 14:11:54 +0000 (16:11 +0200)] 
Makefile: Remove unused variables

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMany pages: Use man3type/ and man2type/ for type pages
Alejandro Colomar [Thu, 21 Jul 2022 13:45:12 +0000 (15:45 +0200)] 
Many pages: Use man3type/ and man2type/ for type pages

Quoting Ingo:

[
The mandoc(1) program is also able to handle paths like
"man3/id_t.3type".  It will consider that page to be *both* in section
"3" (as specified by the directory name) and in section "3type" (as
specified by the file name and by the .TH macro).  I would consider
it better style to keep section names consistent, i.e. to use either
"man3/id_t.3" .TH id_t 3 or "man3type/id_t.3type" .TH id_t 3type,
but it's not a big deal: since many systems (in particular various
Linux distros) suffer from such inconsistencies, handling such
inconsistencies gracefully is an important feature that certainly
won't get removed.
]

Let's be nice, and do things right here, in the hope that others
may follow the example.

===

Most of this patch has been scripted:

$ mkdir man2type man3type
$ find man2 | grep type$ | while read f; do mv -t man2type $f; done
$ find man3 | grep type$ | while read f; do mv -t man3type $f; done
$ grep -rl man3/.*type man* | xargs sed -i 's,man3/,man3type/,'

Apart from that, I adapted the Makefiles, and moved va_list into
the man3type subsection (it was accidentally placed in the main 3
section).

Link: <https://lore.kernel.org/linux-man/YrB66rgFZqryrmpt@asta-kit.de/T/#u>
Reported-by: Ingo Schwarze <schwarze@usta.de>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotimespec.3type, system_data_types.7: Move timespec to a separate page
Alejandro Colomar [Thu, 21 Jul 2022 13:33:38 +0000 (15:33 +0200)] 
timespec.3type, system_data_types.7: Move timespec to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotimeval.3type, system_data_types.7: Move timeval to a separate page
Alejandro Colomar [Thu, 21 Jul 2022 13:19:31 +0000 (15:19 +0200)] 
timeval.3type, system_data_types.7: Move timeval to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agova_list.3, system_data_types.7: Move va_list to a separate page
Alejandro Colomar [Thu, 21 Jul 2022 12:51:41 +0000 (14:51 +0200)] 
va_list.3, system_data_types.7: Move va_list to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMAINTAINER_NOTES: Update references about generation of bpf-helpers.7
Alejandro Colomar [Thu, 21 Jul 2022 11:26:49 +0000 (13:26 +0200)] 
MAINTAINER_NOTES: Update references about generation of bpf-helpers.7

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agobpf-helpers.7: Refresh page
Alejandro Colomar [Thu, 21 Jul 2022 11:15:09 +0000 (13:15 +0200)] 
bpf-helpers.7: Refresh page

The script for generating this page is hosted in the Linux kernel
repository, as <scripts/bpf_doc.py>.  Run it as:

    $ /path/to/linux//scripts/bpf_doc.py | rst2man > man7/bpf-helpers.7

Link: <https://lore.kernel.org/linux-man/CA+FoirA-FeYeA5ZPgCvo55Hg_dfe7dT54Co8CkU9wW8yemFcJA@mail.gmail.com/T/>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Quentin Monnet <quentin.monnet@netronome.com>
Cc: Rumen Telbizov <rumen.telbizov@menlosecurity.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agovoid.3, void.3type, system_data_types.7: Move void* to a separate page
Alejandro Colomar [Wed, 20 Jul 2022 22:35:07 +0000 (00:35 +0200)] 
void.3, void.3type, system_data_types.7: Move void* to a separate page

Also fix the page to be in man3type, not in man3.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosuseconds_t.3type, time_t.3type, useconds_t.3type, system_data_types.7: Move time_t...
Alejandro Colomar [Wed, 20 Jul 2022 22:06:38 +0000 (00:06 +0200)] 
suseconds_t.3type, time_t.3type, useconds_t.3type, system_data_types.7: Move time_t, suseconds_t, and useconds_t to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoptrdiff_t.3type, size_t.3type, ssize_t.3type: Merge size_t and ssize_t into a single...
Alejandro Colomar [Wed, 20 Jul 2022 21:38:59 +0000 (23:38 +0200)] 
ptrdiff_t.3type, size_t.3type, ssize_t.3type: Merge size_t and ssize_t into a single page

Since ssize_t is just the signed version of size_t,
it makes sense to document them together.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoptrdiff_t.3type, system_data_types.7: Move ptrdiff_t to a separate page
Alejandro Colomar [Wed, 20 Jul 2022 21:14:14 +0000 (23:14 +0200)] 
ptrdiff_t.3type, system_data_types.7: Move ptrdiff_t to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agosize_t.3type, system_data_types.7: Move size_t to a separate page
Alejandro Colomar [Wed, 20 Jul 2022 20:33:56 +0000 (22:33 +0200)] 
size_t.3type, system_data_types.7: Move size_t to a separate page

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoid_t.3type: wfix
Alejandro Colomar [Wed, 20 Jul 2022 12:46:21 +0000 (14:46 +0200)] 
id_t.3type: wfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoloff_t.3type, off64_t.3type, off_t.3type, system_data_types.7: Move off_t and off64_t...
Alejandro Colomar [Wed, 20 Jul 2022 12:42:00 +0000 (14:42 +0200)] 
loff_t.3type, off64_t.3type, off_t.3type, system_data_types.7: Move off_t and off64_t to separate page, and document loff_t

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agostrftime.3, strftime_l.3: mention strftime_l() with .so link
наб [Tue, 19 Jul 2022 22:28:10 +0000 (00:28 +0200)] 
strftime.3, strftime_l.3: mention strftime_l() with .so link

POSIX.1-2008 TC2:
> [CX] The strftime_l() function shall be equivalent to the strftime()
  function, except that the locale data used is from the locale
  represented by locale.
> [CX] The behavior is undefined if the locale argument to strftime_l()
  is the special locale object LC_GLOBAL_LOCALE or is not a valid locale
  object handle.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoctime.3: remove struct tm vestigia
наб [Tue, 19 Jul 2022 22:36:04 +0000 (00:36 +0200)] 
ctime.3: remove struct tm vestigia

struct tm now lives in tm.3type, and we describe both of these fields,
in detail and correctly, therein

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: describe tm_zone, tm_gmtoff
наб [Tue, 19 Jul 2022 22:35:57 +0000 (00:35 +0200)] 
tm.3type: describe tm_zone, tm_gmtoff

FreeBSD timezone(3) is V7 char *timezone(int zone, int dst),
our documentation would imply it's impossible to service this type of
system portably

Indeed, glibc defines them both, and they make more sense for most
use-cases than trying to use the globals

glibc cited for __USE_MISC, tm_zone invalidation is Debian 2.33-7
POSIX cited for XSI marking is Issue 7 TC2
CSRG CD #2 contains 4.3BSD-Tahoe with both members

We currently ship an outdated (and factually misleading) version
of this description in ctime.3

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: srcfix
Alejandro Colomar [Tue, 19 Jul 2022 20:29:38 +0000 (22:29 +0200)] 
tm.3type: srcfix

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: widen member alignment to take up to const char *
наб [Tue, 19 Jul 2022 15:35:10 +0000 (17:35 +0200)] 
tm.3type: widen member alignment to take up to const char *

This lets us take const char *tm_zone.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: align ranges
наб [Tue, 19 Jul 2022 15:35:04 +0000 (17:35 +0200)] 
tm.3type: align ranges

This, to me, makes these much more readable

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoprintf.3: Note about thousands grouping and the C locale
Dr. Jürgen Sauermann [Tue, 19 Jul 2022 14:54:46 +0000 (16:54 +0200)] 
printf.3: Note about thousands grouping and the C locale

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: tm_year is year minus 1900, not since
наб [Tue, 19 Jul 2022 01:56:17 +0000 (03:56 +0200)] 
tm.3type: tm_year is year minus 1900, not since

Since only makes sense if the year represented is after 1900:
how many years have passed since 1900 in... 1410?

Also \fB the constant like elsewhere in the hunk

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agotm.3type: tfix
наб [Tue, 19 Jul 2022 01:56:00 +0000 (03:56 +0200)] 
tm.3type: tfix

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agobind.2: EXAMPLES: Add cleanup code
Alejandro Colomar [Mon, 18 Jul 2022 14:57:27 +0000 (16:57 +0200)] 
bind.2: EXAMPLES: Add cleanup code

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoman-pages-5.14.lsm: Update format and maintainers
Alejandro Colomar [Sun, 10 Jul 2022 21:17:09 +0000 (23:17 +0200)] 
man-pages-5.14.lsm: Update format and maintainers

The file is compatible with the newer Begin4 format, so specify it.

Add myself to 'Maintained-by:'.

Link: <https://lsm.qqx.org/>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoCONTRIBUTING, README: Move info from the README to CONTRIBUTING
Alejandro Colomar [Sun, 10 Jul 2022 21:00:43 +0000 (23:00 +0200)] 
CONTRIBUTING, README: Move info from the README to CONTRIBUTING

Also, write file name in <>.

Also, update the README, to say sections 0 through 8.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoMakefile, README, INSTALL: Improve INSTALL documentation
Alejandro Colomar [Sun, 10 Jul 2022 20:27:50 +0000 (22:27 +0200)] 
Makefile, README, INSTALL: Improve INSTALL documentation

Add a 'make help' target to document the features of our Makefile.

Move all documentation about installing from the README to a new
INSTALL file, following GNU coding standards.  See
<https://www.gnu.org/prep/standards/html_node/Releases.html#Releases>.

INSTALL contains minimal information, and defers to 'make help'
for the rest.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
4 years agoinstall.mk, lint.mk: Add comment to endif
Alejandro Colomar [Sun, 10 Jul 2022 17:58:54 +0000 (19:58 +0200)] 
install.mk, lint.mk: Add comment to endif

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>