Various pages: Formatting tweaks after "Improve formatting in ATTRIBUTES"

Various ATTRIBUTES table improvements following the previous
commit. In particular, make use of T{...T} to allow wrapping
in table cells that have a lot of text.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-06 11:45:26 +01:00
parent c466875ecd
commit b32feea59e
31 changed files with 161 additions and 75 deletions

View File

@ -105,9 +105,9 @@ Interface Attribute Value
T{
.BR bindresvport ()
T} Thread safety T{
glibc >= 2.17: MT-Safe
glibc\ >=\ 2.17: MT-Safe;
.\" commit f6da27e53695ad1cc0e2a9490358decbbfdff5e5
glibc < 2.17: MT-Unsafe
glibc\ <\ 2.17: MT-Unsafe
T}
.TE
.hy

View File

@ -323,15 +323,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR asctime ()
T} Thread safety MT-Unsafe race:asctime locale
T} Thread safety T{
MT-Unsafe race:asctime locale
T}
T{
.BR asctime_r ()
T} Thread safety MT-Safe locale
T} Thread safety T{
MT-Safe locale
T}
T{
.BR ctime ()
T} Thread safety T{
@ -343,11 +347,15 @@ T{
.BR gmtime_r (),
.BR localtime_r (),
.BR mktime ()
T} Thread safety MT-Safe env locale
T} Thread safety T{
MT-Safe env locale
T}
T{
.BR gmtime (),
.BR localtime ()
T} Thread safety MT-Unsafe race:tmbuf env locale
T} Thread safety T{
MT-Unsafe race:tmbuf env locale
T}
.TE
.hy
.ad

View File

@ -123,7 +123,7 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
@ -132,7 +132,7 @@ T} Thread safety MT-Safe locale
T{
.BR error_at_line ()
T} Thread safety T{
MT-Unsafe\ race: error_at_line/error_one_per_line locale
MT-Unsafe\ race: error_at_line/\:error_one_per_line locale
T}
.TE
.hy

View File

@ -232,8 +232,8 @@ Interface Attribute Value
T{
.BR fmtmsg ()
T} Thread safety T{
glibc >= 2.16: MT-Safe
glibc < 2.16: MT-Unsafe
glibc\ >=\ 2.16: MT-Safe;
glibc\ <\ 2.16: MT-Unsafe
T}
.TE
.hy

View File

@ -202,15 +202,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getdate ()
T} Thread safety MT-Unsafe race:getdate env locale
T} Thread safety T{
MT-Unsafe race:getdate env locale
T}
T{
.BR getdate_r ()
T} Thread safety MT-Safe env locale
T} Thread safety T{
MT-Safe env locale
T}
.TE
.hy
.ad

View File

@ -118,18 +118,22 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR endfsent (),
.BR setfsent ()
T} Thread safety MT-Unsafe race:fsent
T} Thread safety T{
MT-Unsafe race:fsent
T}
T{
.BR getfsent (),
.BR getfsspec (),
.BR getfsfile ()
T} Thread safety MT-Unsafe race:fsent locale
T} Thread safety T{
MT-Unsafe race:fsent locale
T}
.TE
.hy
.ad

View File

@ -172,7 +172,7 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
@ -184,7 +184,9 @@ T}
T{
.BR setgrent (),
.BR endgrent ()
T} Thread safety MT-Unsafe race:grent locale
T} Thread safety T{
MT-Unsafe race:grent locale
T}
.TE
.hy
.ad

View File

@ -123,15 +123,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getgrent_r ()
T} Thread safety MT-Unsafe race:grent locale
T} Thread safety T{
MT-Unsafe race:grent locale
T}
T{
.BR fgetgrent_r ()
T} Thread safety MT-Safe
T} Thread safety T{
MT-Safe
T}
.TE
.hy
.ad

View File

@ -208,15 +208,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getgrnam ()
T} Thread safety MT-Unsafe race:grnam locale
T} Thread safety T{
MT-Unsafe race:grnam locale
T}
T{
.BR getgrgid ()
T} Thread safety MT-Unsafe race:grgid locale
T} Thread safety T{
MT-Unsafe race:grgid locale
T}
T{
.BR getgrnam_r (),
.BR getgrgid_r ()

View File

@ -105,15 +105,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR gethostid ()
T} Thread safety MT-Safe hostid env locale
T} Thread safety T{
MT-Safe hostid env locale
T}
T{
.BR sethostid ()
T} Thread safety MT-Unsafe const:hostid
T} Thread safety T{
MT-Unsafe const:hostid
T}
.TE
.hy
.ad

View File

@ -217,7 +217,7 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
@ -227,10 +227,14 @@ T{
T} Thread safety MT-Safe
T{
.BR getmntent ()
T} Thread safety MT-Unsafe race:mntentbuf locale
T} Thread safety T{
MT-Unsafe race:mntentbuf locale
T}
T{
.BR addmntent ()
T} Thread safety MT-Safe race:stream locale
T} Thread safety T{
MT-Safe race:stream locale
T}
T{
.BR getmntent_r ()
T} Thread safety MT-Safe locale

View File

@ -335,14 +335,16 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getopt (),
.BR getopt_long (),
.BR getopt_long_only ()
T} Thread safety MT-Unsafe race:getopt env
T} Thread safety T{
MT-Unsafe race:getopt env
T}
.TE
.hy
.ad

View File

@ -167,7 +167,9 @@ T}
T{
.BR setpwent (),
.BR endpwent ()
T} Thread safety MT-Unsafe race:pwent locale
T} Thread safety T{
MT-Unsafe race:pwent locale
T}
.TE
.hy
.ad

View File

@ -125,12 +125,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getpwent_r ()
T} Thread safety MT-Unsafe race:pwent locale
T} Thread safety T{
MT-Unsafe race:pwent locale
T}
T{
.BR fgetpwent_r ()
T} Thread safety MT-Safe

View File

@ -214,19 +214,25 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR getpwnam ()
T} Thread safety MT-Unsafe race:pwnam locale
T} Thread safety T{
MT-Unsafe race:pwnam locale
T}
T{
.BR getpwuid ()
T} Thread safety MT-Unsafe race:pwuid locale
T} Thread safety T{
MT-Unsafe race:pwuid locale
T}
T{
.BR getpwnam_r (),
.BR getpwuid_r ()
T} Thread safety MT-Safe locale
T} Thread safety T{
MT-Safe locale
T}
.TE
.hy
.ad

View File

@ -265,20 +265,28 @@ MT-Unsafe race:getspent locale
T}
T{
.BR fgetspent ()
T} Thread safety MT-Unsafe race:fgetspent
T} Thread safety T{
MT-Unsafe race:fgetspent
T}
T{
.BR sgetspent ()
T} Thread safety MT-Unsafe race:sgetspent
T} Thread safety T{
MT-Unsafe race:sgetspent
T}
T{
.BR putspent (),
.BR getspnam_r (),
.BR sgetspent_r ()
T} Thread safety MT-Safe locale
T} Thread safety T{
MT-Safe locale
T}
T{
.BR lckpwdf (),
.BR ulckpwdf (),
.BR fgetspent_r ()
T} Thread safety MT-Safe
T} Thread safety T{
MT-Safe
T}
.TE
.hy
.ad

View File

@ -69,12 +69,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR localeconv ()
T} Thread safety MT-Unsafe race:localeconv locale
T} Thread safety T{
MT-Unsafe race:localeconv locale
T}
.TE
.hy
.ad

View File

@ -110,15 +110,19 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR makecontext ()
T} Thread safety MT-Safe race:ucp
T} Thread safety T{
MT-Safe race:ucp
T}
T{
.BR swapcontext ()
T} Thread safety MT-Safe race:oucp race:ucp
T} Thread safety T{
MT-Safe race:oucp race:ucp
T}
.TE
.hy
.ad

View File

@ -145,13 +145,15 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR mallinfo (),
.BR mallinfo2 ()
T} Thread safety MT-Unsafe init const:mallopt
T} Thread safety T{
MT-Unsafe init const:mallopt
T}
.TE
.hy
.ad

View File

@ -168,12 +168,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR mbsnrtowcs ()
T} Thread safety MT-Unsafe race:mbsnrtowcs/!ps
T} Thread safety T{
MT-Unsafe race:mbsnrtowcs/!ps
T}
.TE
.hy
.ad

View File

@ -130,12 +130,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR mbsrtowcs ()
T} Thread safety MT-Unsafe race:mbsrtowcs/!ps
T} Thread safety T{
MT-Unsafe race:mbsrtowcs/!ps
T}
.TE
.hy
.ad

View File

@ -117,12 +117,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR posix_fallocate ()
T} Thread safety MT-Safe (but see NOTES)
T} Thread safety T{
MT-Safe (but see NOTES)
T}
.TE
.hy
.ad

View File

@ -134,7 +134,7 @@ T}
T{
.BR pthread_setcancelstate (),
.BR pthread_setcanceltype ()
T} Async-cancel-safety T{
T} Async-cancel safety T{
AC-Safe
T}
.TE

View File

@ -114,7 +114,9 @@ locale
T}
T{
.BR endnetgrent ()
T} Thread safety MT-Unsafe race:netgrent
T} Thread safety T{
MT-Unsafe race:netgrent
T}
T{
.BR getnetgrent ()
T} Thread safety T{

View File

@ -89,12 +89,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR siginterrupt ()
T} Thread safety MT-Unsafe const:sigintr
T} Thread safety T{
MT-Unsafe const:sigintr
T}
.TE
.hy
.ad

View File

@ -242,12 +242,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR strerror ()
T} Thread safety MT-Unsafe race:strerror
T} Thread safety T{
MT-Unsafe race:strerror
T}
T{
.BR strerrorname_np (),
.BR strerrordesc_np ()

View File

@ -190,8 +190,8 @@ T{
.BR strfromf (),
.BR strfroml ()
T} Thread safety MT-Safe locale
\^ Asynchronous signal safety AS-Unsafe heap
\^ Asynchronous cancellation safety AC-Unsafe mem
\^ Async-signal safety AS-Unsafe heap
\^ Async-cancel safety AC-Unsafe mem
.TE
.hy
.ad

View File

@ -142,12 +142,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR strsignal ()
T} Thread safety MT-Unsafe race:strsignal locale
T} Thread safety T{
MT-Unsafe race:strsignal locale
T}
T{
.BR sigdescr_np (),
.BR sigabbrev_np ()

View File

@ -125,7 +125,7 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
@ -145,15 +145,21 @@ T{
.BR putwc_unlocked (),
.BR fgetws_unlocked (),
.BR fputws_unlocked ()
T} Thread safety MT-Safe race:stream
T} Thread safety T{
MT-Safe race:stream
T}
T{
.BR getchar_unlocked (),
.BR getwchar_unlocked ()
T} Thread safety MT-Unsafe race:stdin
T} Thread safety T{
MT-Unsafe race:stdin
T}
T{
.BR putchar_unlocked (),
.BR putwchar_unlocked ()
T} Thread safety MT-Unsafe race:stdout
T} Thread safety T{
MT-Unsafe race:stdout
T}
T{
.BR feof_unlocked (),
.BR ferror_unlocked (),

View File

@ -158,12 +158,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR wcsnrtombs ()
T} Thread safety MT-Unsafe race:wcsnrtombs/!ps
T} Thread safety T{
MT-Unsafe race:wcsnrtombs/!ps
T}
.TE
.hy
.ad

View File

@ -130,12 +130,14 @@ For an explanation of the terms used in this section, see
.nh
.TS
allbox;
lbx lb lb
lb lb lbx
l l l.
Interface Attribute Value
T{
.BR wcsrtombs ()
T} Thread safety MT-Unsafe race:wcsrtombs/!ps
T} Thread safety T{
MT-Unsafe race:wcsrtombs/!ps
T}
.TE
.hy
.ad