libutil: Fix mandoc warnings

- missing comma before name
- possible typo in section name: Sh CAVEAT instead of CAVEATS
- useless macro: Tn
- blank line in fill mode, using .sp
- no blank before trailing delimiter: Dv NULL?

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-08-07 16:30:24 +02:00
parent fa1ac9693a
commit 816ca3d10f
6 changed files with 22 additions and 27 deletions

View File

@ -183,12 +183,8 @@ The
and
.Dv HN_IEC_PREFIXES
flags
conform to
.Tn ISO/IEC
Std\~80000-13:2008
and
.Tn IEEE
Std\~1541-2002.
conform to ISO/IEC Std\~80000-13:2008
and IEEE Std\~1541-2002.
.Sh HISTORY
The
.Fn humanize_number

View File

@ -58,13 +58,6 @@ with the
mib.
While the kernel returns a packed structure, this function expands the
data into a fixed record format.
.Sh CAVEAT
.Fn kinfo_getvmmap
calls can cause significant CPU consumption because calculating the residency
counts requires iterating over all memory pages of the process.
Setting the sysctl variable
.Va kern.proc_vmmap_skip_resident_count
to 1 prevents this calculation.
.Sh RETURN VALUES
On success the
.Fn kinfo_getvmmap
@ -89,3 +82,10 @@ The
.Fn kinfo_getvmmap
function first appeared in
.Fx 7.0 .
.Sh CAVEATS
.Fn kinfo_getvmmap
calls can cause significant CPU consumption because calculating the residency
counts requires iterating over all memory pages of the process.
Setting the sysctl variable
.Va kern.proc_vmmap_skip_resident_count
to 1 prevents this calculation.

View File

@ -68,4 +68,3 @@ The function
.Fn login_tty
first appeared in
.Bx 4.4 .

View File

@ -149,7 +149,7 @@ The
and
.Fn forkpty
functions first appeared in
.Bx 4.3 Reno.
.Bx 4.3 Reno .
.Sh BUGS
.Fn openpty
writes the slave terminal's name to

View File

@ -191,7 +191,7 @@ it will default to
.Fa master
is the name of the password file.
If set to
.Dv NULL?
.Dv NULL ?
it will default to
.Pa master.passwd
.Pp

View File

@ -29,17 +29,17 @@
.Dt QUOTAFILE 3
.Os
.Sh NAME
.Nm quota_open
.Nm quota_close
.Nm quota_on
.Nm quota_off
.Nm quota_read
.Nm quota_write_limits
.Nm quota_write_usage
.Nm quota_fsname
.Nm quota_qfname
.Nm quota_maxid
.Nm quota_check_path
.Nm quota_open ,
.Nm quota_close ,
.Nm quota_on ,
.Nm quota_off ,
.Nm quota_read ,
.Nm quota_write_limits ,
.Nm quota_write_usage ,
.Nm quota_fsname ,
.Nm quota_qfname ,
.Nm quota_maxid ,
.Nm quota_check_path ,
.Nm quota_convert
.Nd "Manipulate quotas"
.Sh LIBRARY