.\" -*-nroff-*-
-.de VS
-.sp 1
-.RS
-.nf
-.ft B
-..
-.de VE
-.ft R
-.fi
-.RE
-.sp 1
-..
-.TH sub 3 "8 May 1999" "Straylight/Edgeware" "mLib utilities library"
-.SH NAME
-sub \- efficient allocation and freeing of small blocks
+.\"
+.\" Manual for efficient small-block allocation
+.\"
+.\" (c) 1999, 2001, 2003, 2005, 2007, 2009, 2023, 2024 Straylight/Edgeware
+.\"
+.
+.\"----- Licensing notice ---------------------------------------------------
+.\"
+.\" This file is part of the mLib utilities library.
+.\"
+.\" mLib is free software: you can redistribute it and/or modify it under
+.\" the terms of the GNU Library General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or (at
+.\" your option) any later version.
+.\"
+.\" mLib is distributed in the hope that it will be useful, but WITHOUT
+.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+.\" License for more details.
+.\"
+.\" You should have received a copy of the GNU Library General Public
+.\" License along with mLib. If not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+.\" USA.
+.
+.\"--------------------------------------------------------------------------
+.so ../defs.man \" @@@PRE@@@
+.
+.\"--------------------------------------------------------------------------
+.TH sub 3mLib "8 May 1999" "Straylight/Edgeware" "mLib utilities library"
.\" @subarena_create
.\" @subarena_destroy
.\" @subarena_alloc
.\" @sub_alloc
.\" @sub_free
.\" @sub_init
-.\"
+.
.\" @A_CREATE
.\" @A_DESTROY
.\" @CREATE
.\" @DESTROY
-.\"
+.
+.\"--------------------------------------------------------------------------
+.SH NAME
+sub \- efficient allocation and freeing of small blocks
+.
+.\"--------------------------------------------------------------------------
.SH SYNOPSIS
+.
.nf
.B "#include <mLib/sub.h>"
.PP
.BI "void *CREATE(" type );
.BI "void DESTROY(" type " *" p );
.fi
+.
+.\"--------------------------------------------------------------------------
.SH DESCRIPTION
+.
The
.B subarena
collection of functions and macros implement an efficient allocator for
ought to be called before any of the other functions as a matter of good
taste, but actually the system will initialize itself the first time
it's used.
+.
+.\"--------------------------------------------------------------------------
.SH "SEE ALSO"
+.
.BR arena (3),
.BR exc (3),
.BR alloc (3),
.BR mLib (3).
+.
+.\"--------------------------------------------------------------------------
.SH AUTHOR
+.
Mark Wooding, <mdw@distorted.org.uk>
+.
+.\"----- That's all, folks --------------------------------------------------