chiark / gitweb /
Don't include trailing zero in the name of a gensym.
[mLib] / man / alloc.3
index ed3a03690ba712f2673298c69757271386b2a650..06ad53df33636ac28a28578d94ae8a2db537f195 100644 (file)
@@ -1,21 +1,26 @@
 .\" -*-nroff-*-
-.TH alloc 3 "8 May 1999" "mLib"
+.TH alloc 3 "8 May 1999" "Straylight/Edgeware" "mLib utilities library"
 .\" @xmalloc
 .\" @xrealloc
 .\" @xstrdup
+.\" @xfree
+.\" @x_alloc
+.\" @x_strdup
+.\" @x_realloc
+.\" @x_free
 .SH NAME
 alloc \- mLib low-level memory allocation
 .SH SYNOPSIS
 .nf
 .B "#include <mLib/alloc.h>"
 
-.BI "void *x_alloc(size_t " sz );
-.BI "char *x_strdup(const char *" s );
-.BI "void *x_realloc(void *" p ", size_t " sz );
-.BI "void x_free(void *" p );
+.BI "void *x_alloc(arena *" a ", size_t " sz );
+.BI "char *x_strdup(arena *" a ", const char *" s );
+.BI "void *x_realloc(arena *" a ", void *" p ", size_t " sz ", size_t " osz );
+.BI "void x_free(arena *" a ", void *" p );
 
 .BI "void *xmalloc(size_t " sz );
-.BI "void *xrealloc(void *" p ", size_t " sz );
+.BI "void *xrealloc(void *" p ", size_t " sz ", size_t " osz );
 .BI "char *xstrdup(const char *" s );
 .BI "void xfree(void *" p );
 .fi
@@ -60,5 +65,5 @@ allocation from the current arena
 .BR exc (3),
 .BR mLib (3).
 .SH AUTHOR
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>